StdLib: Revise the meaning of several feature macros.

Feature macros, defined in StdLibPrivateInternalFiles/Include/LibConfig.h are defined to cause the named feature to be included.  When originally added, several features were guarded using reversed logic.

Signed-off-by: darylm503
Reviewed-by: geekboy15a


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12652 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503
2011-11-03 00:01:24 +00:00
parent c84d88fa7c
commit 5c5e4a12de
4 changed files with 14 additions and 12 deletions

View File

@@ -134,16 +134,15 @@ getopt(int argc, char **argv, char *args)
}
}
}
return -1;
}
#endif
#define ISPATHSEPARATOR(x) ((x == '/') || (x == '\\'))
#ifndef HAVE_BASENAME
#ifdef HAVE_BASENAME
#ifndef PATH_MAX
#define PATH_MAX 5000
#define PATH_MAX 5000
#endif
char *
@@ -232,7 +231,7 @@ mkstemp(char *path)
}
#endif
#ifndef HAVE_FFS
#ifdef HAVE_FFS
int
ffs(int x)
{