Blame src/internal/slibtool_visibility_impl.h

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