summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/config-win.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-11-06 14:21:50 +0000
committerAndrey Hristov <andrey@php.net>2008-11-06 14:21:50 +0000
commite49366850ff01e820cb665f9f83922c92a359e9b (patch)
treebd285ae90f6aaa92eb97d4e775cf11ff5155755c /ext/mysqlnd/config-win.h
parent710638db5457c6267da526915efa9c840ce8debe (diff)
downloadphp-git-e49366850ff01e820cb665f9f83922c92a359e9b.tar.gz
MFH: Use win32/php_stdint.h for stdint types on Windows
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