From: Anatol Belski Date: Thu, 7 Aug 2014 13:20:17 +0000 (+0200) Subject: wrap int8_t and int16_t with #ifdef to avoid possible clashes X-Git-Tag: php-5.4.33RC1~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7189039d650de1417e4e580865b1e77b39e3da55;p=php wrap int8_t and int16_t with #ifdef to avoid possible clashes --- diff --git a/win32/php_stdint.h b/win32/php_stdint.h index 5df1df4777..0d63615c6b 100644 --- a/win32/php_stdint.h +++ b/win32/php_stdint.h @@ -66,8 +66,12 @@ // 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