summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-01-27 21:53:31 +0000
committerPierre Joye <pajoye@php.net>2009-01-27 21:53:31 +0000
commita5af8a7ec2fa8c8d752c6b22e60f17c712bd4c8e (patch)
tree742a666854342e79f31de29a4dab031979e97dfe
parent611c45359813e4f9059172870af5c855988f1c20 (diff)
downloadphp-git-a5af8a7ec2fa8c8d752c6b22e60f17c712bd4c8e.tar.gz
- prevent redefinition
-rw-r--r--win32/php_stdint.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/php_stdint.h b/win32/php_stdint.h
index 81426fa875..70909f0632 100644
--- a/win32/php_stdint.h
+++ b/win32/php_stdint.h
@@ -68,12 +68,22 @@
// 7.18.1.1 Exact-width integer types
typedef __int8 int8_t;
typedef __int16 int16_t;
+#ifndef int32_t
typedef __int32 int32_t;
+#endif
+#ifndef int64_t
typedef __int64 int64_t;
+#endif
+#ifndef uint8_t
typedef unsigned __int8 uint8_t;
+#endif
+#ifndef u_char
typedef unsigned __int8 u_char;
+#endif
typedef unsigned __int16 uint16_t;
+#ifndef uint32_t
typedef unsigned __int32 uint32_t;
+#endif
typedef unsigned __int64 uint64_t;
// 7.18.1.2 Minimum-width integer types