]> granicus.if.org Git - php/commitdiff
Fixed ext/sockets build
authorKalle Sommer Nielsen <kalle@php.net>
Tue, 8 Sep 2009 01:45:25 +0000 (01:45 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Tue, 8 Sep 2009 01:45:25 +0000 (01:45 +0000)
ext/sockets/php_sockets.h

index edaf4e6078b8b9502485a63863fd93e526b1c8b0..8487c328c25de42ab22a384bc24db1ee73ca2bad 100644 (file)
@@ -71,7 +71,7 @@ PHP_FUNCTION(socket_shutdown);
 PHP_FUNCTION(socket_last_error);
 PHP_FUNCTION(socket_clear_error);
 
-#ifndef PHP_WIN32
+#ifdef PHP_WIN32
 typedef int PHP_SOCKET;
 # define PHP_SOCKETS_API __declspec(dllexport)
 #else