From 0bdd62c8aca3393168b52503161b50e0724b3e43 Mon Sep 17 00:00:00 2001 From: Alex Waugh Date: Sun, 4 Nov 2001 12:38:33 +0000 Subject: [PATCH] Make sure uint et al are undefined before typedefing them --- ext/mysql/libmysql/global.h | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.40.0