From 12d812549802c5658d829ce4bb1474ed86a93039 Mon Sep 17 00:00:00 2001 From: dhewg Date: Tue, 13 Dec 2011 23:46:38 +0100 Subject: [PATCH] Undef strcasecmp before redefining it --- idlib/Str.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/idlib/Str.h b/idlib/Str.h index ec87944..21160d5 100644 --- a/idlib/Str.h +++ b/idlib/Str.h @@ -63,6 +63,9 @@ If you have questions concerning this license or the applicable additional terms #define stricmp idStr::Icmp // use_idStr_Icmp #define _stricmp use_idStr_Icmp +#if defined( strcasecmp ) +#undef strcasecmp +#endif #define strcasecmp use_idStr_Icmp #define strnicmp use_idStr_Icmpn #define _strnicmp use_idStr_Icmpn