summaryrefslogtreecommitdiff
path: root/ext/shmop/php_shmop.h
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-08-07 13:33:27 (GMT)
committerDaniel Beulshausen <dbeu@php.net>2001-08-07 13:33:27 (GMT)
commit289770bf617b9f437461a9b3ea1edb1c7902b5cf (patch)
treed530e67305071cbaf30624137e2d581524f8f9f7 /ext/shmop/php_shmop.h
parenta118a1e7b051a61df3ae39692fea861dd63ac721 (diff)
downloadphp-289770bf617b9f437461a9b3ea1edb1c7902b5cf.tar.gz
let ext\shmop build under win32
Diffstat (limited to 'ext/shmop/php_shmop.h')
-rw-r--r--ext/shmop/php_shmop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/shmop/php_shmop.h b/ext/shmop/php_shmop.h
index 65ed03c..ac8ce04 100644
--- a/ext/shmop/php_shmop.h
+++ b/ext/shmop/php_shmop.h
@@ -43,6 +43,10 @@ PHP_FUNCTION(shmop_size);
PHP_FUNCTION(shmop_write);
PHP_FUNCTION(shmop_delete);
+#ifdef PHP_WIN32
+typedef int key_t;
+#endif
+
struct php_shmop
{
int shmid;