diff options
author | Johannes Schlüter <johannes@php.net> | 2012-05-25 00:25:16 +0200 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2012-05-25 00:25:16 +0200 |
commit | cf73fb5f75bd9ddc9024b765c28936eed75cb784 (patch) | |
tree | b14d5b1533dc7475396ccdd1751c6e689eb371ba /ext/com_dotnet/php_com_dotnet.h | |
parent | b187c35f236edd7370d63f02c26d5272997830ee (diff) | |
parent | 3cd50ca714fcf346aaa51a2c01c996c9434a2455 (diff) | |
download | php-git-cf73fb5f75bd9ddc9024b765c28936eed75cb784.tar.gz |
Merge branch 'PHP-5.4'
* PHP-5.4:
Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
Those changes are in 5.3.15
- BFN
Diffstat (limited to 'ext/com_dotnet/php_com_dotnet.h')
-rw-r--r-- | ext/com_dotnet/php_com_dotnet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/com_dotnet/php_com_dotnet.h b/ext/com_dotnet/php_com_dotnet.h index ddcd38132e..96ea21ae6a 100644 --- a/ext/com_dotnet/php_com_dotnet.h +++ b/ext/com_dotnet/php_com_dotnet.h @@ -28,6 +28,14 @@ extern zend_module_entry com_dotnet_module_entry; #include "TSRM.h" #endif +#ifdef PHP_WIN32 +# define PHP_COM_DOTNET_API __declspec(dllexport) +#elif defined(__GNUC__) && __GNUC__ >= 4 +# define PHP_COM_DOTNET_API __attribute__ ((visibility("default"))) +#else +# define PHP_COM_DOTNET_API +#endif + PHP_MINIT_FUNCTION(com_dotnet); PHP_MSHUTDOWN_FUNCTION(com_dotnet); PHP_RINIT_FUNCTION(com_dotnet); |