summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/config-win.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-11-06 14:20:19 +0000
committerAndrey Hristov <andrey@php.net>2008-11-06 14:20:19 +0000
commitde610e1dd742a6f42d4ffd796500ed0b0a67172a (patch)
tree7ee4e5f4f438b362532610d85229639d7ac6f599 /ext/mysqlnd/config-win.h
parent41e3343a26f465383317f5fe8aeed3b3fc39c1e5 (diff)
downloadphp-git-de610e1dd742a6f42d4ffd796500ed0b0a67172a.tar.gz
Rely on win32/php_stdint.h on Windows for stdint types
Diffstat (limited to 'ext/mysqlnd/config-win.h')
-rw-r--r--ext/mysqlnd/config-win.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ext/mysqlnd/config-win.h b/ext/mysqlnd/config-win.h
index 0d890f7166..15cd736b10 100644
--- a/ext/mysqlnd/config-win.h
+++ b/ext/mysqlnd/config-win.h
@@ -10,6 +10,33 @@ This file is public domain and comes with NO WARRANTY of any kind */
#include <io.h>
#include <malloc.h>
+#include "win32/php_stdint.h"
+
+#ifndef HAVE_INT8_T
+#define HAVE_INT8_T
+#endif
+#ifndef HAVE_UINT8_T
+#define HAVE_UINT8_T
+#endif
+#ifndef HAVE_INT16_T
+#define HAVE_INT16_T
+#endif
+#ifndef HAVE_UINT16_T
+#define HAVE_UINT16_T
+#endif
+#ifndef HAVE_INT32_T
+#define HAVE_INT32_T
+#endif
+#ifndef HAVE_UINT32_T
+#define HAVE_UINT32_T
+#endif
+#ifndef HAVE_INT64_T
+#define HAVE_INT64_T
+#endif
+#ifndef HAVE_UINT64_T
+#define HAVE_UINT64_T
+#endif
+
#ifndef _WIN64
#ifndef _WIN32