summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-08-17 11:56:04 +0000
committerPierre Joye <pajoye@php.net>2011-08-17 11:56:04 +0000
commitcef071fd805ecc08fb1e676ec20df1d470d3be76 (patch)
tree31c6c3f4c22b5fd285e2cc1d8289bca9aa0e1d3d /sapi/cli/php_http_parser.h
parent34019766b68fe76dd6bdec18fa9d792814fd3bf8 (diff)
downloadphp-git-cef071fd805ecc08fb1e676ec20df1d470d3be76.tar.gz
- use provided stdint.h and avoid double definitions
Diffstat (limited to 'sapi/cli/php_http_parser.h')
-rw-r--r--sapi/cli/php_http_parser.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sapi/cli/php_http_parser.h b/sapi/cli/php_http_parser.h
index 09ec79acf8..dae45470ae 100644
--- a/sapi/cli/php_http_parser.h
+++ b/sapi/cli/php_http_parser.h
@@ -28,17 +28,7 @@ extern "C" {
#include <sys/types.h>
#if defined(_WIN32) && !defined(__MINGW32__)
-typedef __int8 int8_t;
-typedef unsigned __int8 uint8_t;
-typedef __int16 int16_t;
-typedef unsigned __int16 uint16_t;
-typedef __int32 int32_t;
-typedef unsigned __int32 uint32_t;
-typedef __int64 int64_t;
-typedef unsigned __int64 uint64_t;
-
-typedef unsigned int size_t;
-typedef int ssize_t;
+#include "win32/php_stdint.h"
#else
#include <stdint.h>
#endif