diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-04 23:39:47 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-04 23:39:47 +0000 |
commit | e0c56f04d7bc05420edb4f8c4f3721342459941e (patch) | |
tree | 4df096e17a777299f372f8306bf7d7d7adcf9340 | |
parent | 621406c57f6e48dcabba8c0e82b263ab78745be4 (diff) | |
download | edk2-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
-rw-r--r-- | Tools/Source/TianoTools/Common/CommonLib.h | 4 |
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
|