projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix build with xcode clang
[m6w6/ext-http]
/
php_http_api.h
diff --git
a/php_http_api.h
b/php_http_api.h
index 62530b8edac5471e1c15f46335a9633d420bb9d1..ec4a989d25fdb4b59825ac552e4048983f885d1b 100644
(file)
--- a/
php_http_api.h
+++ b/
php_http_api.h
@@
-34,9
+34,9
@@
#ifdef PHP_WIN32
# define PHP_HTTP_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
#ifdef PHP_WIN32
# define PHP_HTTP_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
-# define PHP_HTTP_API __attribute__ ((visibility("default")))
+# define PHP_HTTP_API
extern
__attribute__ ((visibility("default")))
#else
#else
-# define PHP_HTTP_API
+# define PHP_HTTP_API
extern
#endif
/* make functions that return SUCCESS|FAILURE more obvious */
#endif
/* make functions that return SUCCESS|FAILURE more obvious */