summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/global.h
diff options
context:
space:
mode:
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)