summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/global.h
diff options
context:
space:
mode:
authorAlex Waugh <alexwaugh@php.net>2001-11-04 12:38:33 +0000
committerAlex Waugh <alexwaugh@php.net>2001-11-04 12:38:33 +0000
commit0bdd62c8aca3393168b52503161b50e0724b3e43 (patch)
treeaae971b98bfdd568936cbdec0593bb082e4221e4 /ext/mysql/libmysql/global.h
parentbc262504131b234edef600e291aa8302a531e849 (diff)
downloadphp-git-0bdd62c8aca3393168b52503161b50e0724b3e43.tar.gz
Make sure uint et al are undefined before typedefing them
Diffstat (limited to 'ext/mysql/libmysql/global.h')
-rw-r--r--ext/mysql/libmysql/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysql/libmysql/global.h b/ext/mysql/libmysql/global.h
index f9e3295961..2257c49969 100644
--- a/ext/mysql/libmysql/global.h
+++ b/ext/mysql/libmysql/global.h
@@ -250,8 +250,12 @@ int __void__;
#endif
#if defined(__EMX__) || !defined(HAVE_UINT)
+#undef uint
+#undef ushort
+#undef ulong
typedef unsigned int uint;
typedef unsigned short ushort;
+typedef unsigned long ulong;
#endif
#define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)