From 08f10ef47add96af7a1f4eeeb583ee1d96cfdade Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Mon, 23 Jul 2018 15:26:39 +0200 Subject: 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 --- ext/com_dotnet/php_com_dotnet.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'ext/com_dotnet/php_com_dotnet.h') 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 -- cgit v1.2.1