]> granicus.if.org Git - php/commitdiff
wrap int8_t and int16_t with #ifdef to avoid possible clashes
authorAnatol Belski <ab@php.net>
Thu, 7 Aug 2014 13:20:17 +0000 (15:20 +0200)
committerAnatol Belski <ab@php.net>
Thu, 7 Aug 2014 13:20:17 +0000 (15:20 +0200)
win32/php_stdint.h

index 5df1df4777eeb809ee052775be8ce99804c052a0..0d63615c6bc9818e42e3d2502473a0d15cf6c0bd 100644 (file)
 // 7.18.1 Integer types
 
 // 7.18.1.1 Exact-width integer types
+#ifndef int8_t
 typedef __int8            int8_t;
+#endif
+#ifndef int16_t
 typedef __int16           int16_t;
+#endif
 #ifndef int32_t
 typedef __int32           int32_t;
 #endif