]> granicus.if.org Git - php/commitdiff
- prevent redefinition
authorPierre Joye <pajoye@php.net>
Tue, 27 Jan 2009 21:53:31 +0000 (21:53 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 27 Jan 2009 21:53:31 +0000 (21:53 +0000)
win32/php_stdint.h

index 81426fa8752d7e8b2896d7d25f7d533a240ad7d5..70909f0632238a6c58be9a6b4a0db763cad47b31 100644 (file)
 // 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