diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2018-07-23 15:26:39 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2018-07-23 15:26:39 +0200 |
commit | 08f10ef47add96af7a1f4eeeb583ee1d96cfdade (patch) | |
tree | 991199a3cc8e027dcaacae2326b3ea52355c1912 /ext/com_dotnet/php_com_dotnet.h | |
parent | b12140596075dbdddeb4264c8b853d915b0f40e7 (diff) | |
download | php-git-08f10ef47add96af7a1f4eeeb583ee1d96cfdade.tar.gz |
Remove some dead code
sapi/*: Remove Windows code from FPM and LiteSpeed, as we don't support these SAPIs on Windows anyway
ext/com_dotnet: Remove non Windows code, as ext/com_dotnet is only supported on Windows
Diffstat (limited to 'ext/com_dotnet/php_com_dotnet.h')
-rw-r--r-- | ext/com_dotnet/php_com_dotnet.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/com_dotnet/php_com_dotnet.h b/ext/com_dotnet/php_com_dotnet.h index 0d173e2005..aafd3b41c8 100644 --- a/ext/com_dotnet/php_com_dotnet.h +++ b/ext/com_dotnet/php_com_dotnet.h @@ -28,13 +28,7 @@ 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 +#define PHP_COM_DOTNET_API __declspec(dllexport) #include "php_version.h" #define PHP_COM_DOTNET_VERSION PHP_VERSION |