Blame src/internal/tpax_visibility_impl.h

538329
#ifndef TPAX_VISIBILITY_IMPL_H
538329
#define TPAX_VISIBILITY_IMPL_H
538329
538329
/**********************************************************************/
538329
/* PE targets: __dllexport suffices for the purpose of exporting only */
538329
/* the desired subset of global symbols; this makes the visibility    */
538329
/* attribute not only redundant, but also tricky if not properly      */
538329
/* supported by the toolchain.                                        */
538329
/*                                                                    */
538329
/* When targeting Midipix, __PE__, __dllexport and __dllimport are    */
538329
/* always defined by the toolchain. Otherwise, the absnece of these   */
538329
/* macros has been detected by sofort's ccenv.sh during ./configure,  */
538329
/* and they have accordingly been added to CFLAGS_OS.                 */
538329
/**********************************************************************/
538329
538329
#ifdef __PE__
538329
#define tpax_hidden
538329
#else
538329
#ifdef _ATTR_VISIBILITY_HIDDEN
538329
#define tpax_hidden _ATTR_VISIBILITY_HIDDEN
538329
#else
538329
#define tpax_hidden
538329
#endif
538329
#endif
538329
538329
#endif