From: bbahnsen Date: Thu, 4 May 2006 23:39:47 +0000 (+0000) Subject: Use strcasecmp in gcc builds. X-Git-Tag: edk2-stable201903~25533 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e0c56f04d7bc05420edb4f8c4f3721342459941e Use strcasecmp in gcc builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@106 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Source/TianoTools/Common/CommonLib.h b/Tools/Source/TianoTools/Common/CommonLib.h index 7bc233134d..157aa7aec0 100644 --- a/Tools/Source/TianoTools/Common/CommonLib.h +++ b/Tools/Source/TianoTools/Common/CommonLib.h @@ -127,5 +127,9 @@ PrintGuidToBuffer ( ) ; +#ifdef __GNUC__ +#define stricmp strcasecmp +#define strcmpi strcasecmp +#endif #endif