]> granicus.if.org Git - php/commitdiff
Make sure uint et al are undefined before typedefing them
authorAlex Waugh <alexwaugh@php.net>
Sun, 4 Nov 2001 12:38:33 +0000 (12:38 +0000)
committerAlex Waugh <alexwaugh@php.net>
Sun, 4 Nov 2001 12:38:33 +0000 (12:38 +0000)
ext/mysql/libmysql/global.h

index f9e329596155564d049e6e79a144a40e017bc949..2257c499692f3757c501214e2eb0f5a607484b86 100644 (file)
@@ -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)