From 1cca070e1a3b82c33a1aecaa6ec9bfc72516a640 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 8 May 2016 17:06:50 +0200 Subject: Removed 'temporary fix for bugreport:4961', no longer necessary - The provided test cases return success on all currently supported FreeBSD versions (9 and 10) - Fixes #1283 --- src/common/cbasetypes.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index 3675d8fa4..0e419c013 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -118,16 +118,6 @@ #include #include -// temporary fix for bugreport:4961 (unintended conversion from signed to unsigned) -// (-20 >= UCHAR_MAX) returns true -// (-20 >= USHRT_MAX) returns true -#if defined(__FreeBSD__) && defined(__x86_64) -#undef UCHAR_MAX -#define UCHAR_MAX ((unsigned char)0xff) -#undef USHRT_MAX -#define USHRT_MAX ((unsigned short)0xffff) -#endif - // ILP64 isn't supported, so always 32 bits? #ifndef UINT_MAX #define UINT_MAX 0xffffffff -- cgit v1.2.3-70-g09d2