summaryrefslogtreecommitdiff
path: root/Tools/Source
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-04 23:39:47 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-04 23:39:47 +0000
commite0c56f04d7bc05420edb4f8c4f3721342459941e (patch)
tree4df096e17a777299f372f8306bf7d7d7adcf9340 /Tools/Source
parent621406c57f6e48dcabba8c0e82b263ab78745be4 (diff)
downloadedk2-e0c56f04d7bc05420edb4f8c4f3721342459941e.zip
edk2-e0c56f04d7bc05420edb4f8c4f3721342459941e.tar.gz
edk2-e0c56f04d7bc05420edb4f8c4f3721342459941e.tar.bz2
Use strcasecmp in gcc builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@106 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r--Tools/Source/TianoTools/Common/CommonLib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/Source/TianoTools/Common/CommonLib.h b/Tools/Source/TianoTools/Common/CommonLib.h
index 7bc2331..157aa7a 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