summaryrefslogtreecommitdiff
path: root/win32/php_stdint.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-22 08:58:03 +0200
committerAnatol Belski <ab@php.net>2014-08-22 08:58:03 +0200
commit79f888a602db3814a6ab03183eff6375bfe9234a (patch)
treef1b6d1fb76ca4d613a5cc1b551057dac33d3f585 /win32/php_stdint.h
parentda35db3ec5fc4b27087292c067a6ea1d0f77bf8f (diff)
parent411b920a6f8d53025caddb30895b27d04a3576b4 (diff)
downloadphp-git-79f888a602db3814a6ab03183eff6375bfe9234a.tar.gz
Merge remote-tracking branch 'weltling/master'POST_64BIT_BRANCH_MERGE
* weltling/master: (725 commits) fix zpp fixed array_pad() fix zpp fix zpp fix zpp fix zpp and a bit more fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fixed the test ...
Diffstat (limited to 'win32/php_stdint.h')
-rw-r--r--win32/php_stdint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/php_stdint.h b/win32/php_stdint.h
index cb5ad17061..858dcb5c33 100644
--- a/win32/php_stdint.h
+++ b/win32/php_stdint.h
@@ -134,6 +134,7 @@ typedef uint64_t uintmax_t;
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [ See footnote 220 at page 257 and footnote 221 at page 259
// 7.18.2.1 Limits of exact-width integer types
+#if _MSC_VER >= 1700 && !defined(_INTSAFE_H_INCLUDED_)
#define INT8_MIN ((int8_t)_I8_MIN)
#define INT8_MAX _I8_MAX
#define INT16_MIN ((int16_t)_I16_MIN)
@@ -146,6 +147,7 @@ typedef uint64_t uintmax_t;
#define UINT16_MAX _UI16_MAX
#define UINT32_MAX _UI32_MAX
#define UINT64_MAX _UI64_MAX
+#endif
// 7.18.2.2 Limits of minimum-width integer types
#define INT_LEAST8_MIN INT8_MIN