diff options
Diffstat (limited to 'StdLib/LibC/Uefi/compat.c')
-rw-r--r-- | StdLib/LibC/Uefi/compat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/StdLib/LibC/Uefi/compat.c b/StdLib/LibC/Uefi/compat.c index 8ce4783a6a..251863fb14 100644 --- a/StdLib/LibC/Uefi/compat.c +++ b/StdLib/LibC/Uefi/compat.c @@ -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)
{
|