pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2021-01-04
2021-01-04 01:22:59 by Marcus Comstedt <marcus@mc.pp.se>
d603682d7f67e52920eb80199cc58fdcf7e5fe84 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Build: Fix macOS check for visibility attribute
611:
* themselves, unless they are compiled statically. */ # define PMOD_EXPORT __declspec(dllexport) # endif
-
# elif defined(__clang__) && defined(MAC_OS_X_VERSION_MIN_REQUIRED)
+
# 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")))