jani Mon Jul 21 16:23:00 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/ereg/regex regex.h Log: MFH:- Visibility (bug #45564) http://cvs.php.net/viewvc.cgi/php-src/ext/ereg/regex/regex.h?r1=1.6.36.2&r2=1.6.36.3&diff_format=u Index: php-src/ext/ereg/regex/regex.h diff -u php-src/ext/ereg/regex/regex.h:1.6.36.2 php-src/ext/ereg/regex/regex.h:1.6.36.3 --- php-src/ext/ereg/regex/regex.h:1.6.36.2 Fri Oct 5 15:00:07 2007 +++ php-src/ext/ereg/regex/regex.h Mon Jul 21 16:23:00 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