cvs: php4 /ext/mysql/libmysql global.h

From: Date: Sun, 04 Nov 2001 12:38:34 +0000
Subject: cvs: php4 /ext/mysql/libmysql global.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8078@lists.php.net to get a copy of this message
alexwaugh Sun Nov 4 07:38:34 2001 EDT Modified files: /php4/ext/mysql/libmysql global.h Log: Make sure uint et al are undefined before typedefing them Index: php4/ext/mysql/libmysql/global.h diff -u php4/ext/mysql/libmysql/global.h:1.8 php4/ext/mysql/libmysql/global.h:1.9 --- php4/ext/mysql/libmysql/global.h:1.8 Fri Jun 1 16:07:26 2001 +++ php4/ext/mysql/libmysql/global.h Sun Nov 4 07:38:33 2001 @@ -250,8 +250,12 @@ #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)

« previous php.cvs (#8078) next »