We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c55176 commit 61ac64bCopy full SHA for 61ac64b
ZendAccelerator.h
@@ -67,6 +67,8 @@
67
#ifndef ZEND_EXT_API
68
# if WIN32|WINNT
69
# define ZEND_EXT_API __declspec(dllexport)
70
+# elif defined(__GNUC__) && __GNUC__ >= 4
71
+# define ZEND_EXT_API __attribute__ ((visibility("default")))
72
# else
73
# define ZEND_EXT_API
74
# endif
config.m4
@@ -341,7 +341,7 @@ int main() {
341
shared_alloc_mmap.c \
342
shared_alloc_posix.c \
343
Optimizer/zend_optimizer.c,
344
- $ext_shared,,,,yes)
+ shared,,,,yes)
345
346
PHP_ADD_BUILD_DIR([$ext_builddir/Optimizer], 1)
347
fi
0 commit comments