pike.git/src/global.h:608: Inside #if undefined(PMOD_EXPORT)
# else
/* A pmod export becomes an import in the dynamic module. This means
* that modules can't use PMOD_EXPORT for identifiers they export
* themselves, unless they are compiled statically. */
# define PMOD_EXPORT __declspec(dllexport)
# endif
# elif defined(__clang__) && (defined(MAC_OS_X_VERSION_MIN_REQUIRED) || defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__))
/* According to Clang source the protected behavior is ELF-specific and not
applicable to OS X. */
# define PMOD_EXPORT __attribute__ ((visibility("default")))
- # elif __GNUC__ >= 4 && defined(HAVE_FUNCTION_ATTRIBUTE_VISIBILITY)
+ # elif __GNUC__ >= 4
# ifdef DYNAMIC_MODULE
# define PMOD_EXPORT __attribute__ ((visibility("default")))
# else
# define PMOD_EXPORT __attribute__ ((visibility("protected")))
# endif
# else
# define PMOD_EXPORT
# endif
#endif