mirror of https://github.com/acidanthera/audk.git
Fixes for Cygwin gcc builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@179 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9aae885601
commit
17b23c78ac
|
@ -495,10 +495,14 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
void strlwr(char *s)
|
#ifndef __CYGWIN__
|
||||||
|
char *strlwr(char *s)
|
||||||
{
|
{
|
||||||
|
char *p = s;
|
||||||
for(;*s;s++) {
|
for(;*s;s++) {
|
||||||
*s = tolower(*s);
|
*s = tolower(*s);
|
||||||
}
|
}
|
||||||
|
return p;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -131,7 +131,9 @@ PrintGuidToBuffer (
|
||||||
#define stricmp strcasecmp
|
#define stricmp strcasecmp
|
||||||
#define strnicmp strncasecmp
|
#define strnicmp strncasecmp
|
||||||
#define strcmpi strcasecmp
|
#define strcmpi strcasecmp
|
||||||
void strlwr(char *s);
|
#ifndef __CYGWIN__
|
||||||
|
char *strlwr(char *s);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue