jani Mon Jul 21 16:22:30 2008 UTC
Modified files:
/php-src/ext/ereg/regex regex.h
Log:
- Visibility (bug #45564)
http://cvs.php.net/viewvc.cgi/php-src/ext/ereg/regex/regex.h?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/ereg/regex/regex.h
diff -u php-src/ext/ereg/regex/regex.h:1.6 php-src/ext/ereg/regex/regex.h:1.7
--- php-src/ext/ereg/regex/regex.h:1.6 Fri Nov 12 20:27:52 1999
+++ php-src/ext/ereg/regex/regex.h Mon Jul 21 16:22:29 2008
@@ -10,6 +10,8 @@
/* === regex2.h === */
#ifdef WIN32
#define API_EXPORT(type) __declspec(dllexport) type __stdcall
+#elif defined(__GNUC__) && __GNUC__ >= 4
+#define API_EXPORT(type) __attribute__ ((visibility("default"))) type
#else
#define API_EXPORT(type) type
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php