summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-12-11 22:18:10 +0000
committerPierre Joye <pajoye@php.net>2010-12-11 22:18:10 +0000
commita7ffa09e18137de43c91ac5f2120c170679baeae (patch)
treef2d77b2d2c9e738db96bdde27b87bf5796327be5 /main/php.h
parent02ff4766c942985b73aa8932301fe7478a58c0ac (diff)
downloadphp-git-a7ffa09e18137de43c91ac5f2120c170679baeae.tar.gz
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 2db910eb56..ca31fbf9d1 100644
--- a/main/php.h
+++ b/main/php.h
@@ -147,7 +147,11 @@ END_EXTERN_C()
#endif
#ifndef HAVE_SOCKLEN_T
+# if PHP_WIN32
+typedef int socklen_t;
+# else
typedef unsigned int socklen_t;
+# endif
#endif
#define CREATE_MUTEX(a, b)