pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:01 by Jonas Walldén <jonasw@roxen.com>
0963313f14a5dfc26d1b866001cf3b2625fac0f3 (
5
lines) (+
5
/-
0
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
Various clang-related changes to reduce compile-time warnings.
559:
* themselves, unless they are compiled statically. */ # define PMOD_EXPORT __declspec(dllexport) # endif
+
# elif defined(__clang__) && defined(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 # ifdef DYNAMIC_MODULE # define PMOD_EXPORT __attribute__ ((visibility("default")))