mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
Use native getopt_long() on macOS
This commit is contained in:
parent
b1c6317ba5
commit
b690fb2abc
@ -520,6 +520,7 @@
|
||||
"-DHAVE_SHADERPIPELINE",
|
||||
"-DHAVE_MMAP",
|
||||
"-DHAVE_LIBRETRODB",
|
||||
"-DHAVE_GETOPT_LONG",
|
||||
);
|
||||
PREBINDING = NO;
|
||||
SDKROOT = macosx;
|
||||
@ -573,6 +574,7 @@
|
||||
"-DHAVE_SHADERPIPELINE",
|
||||
"-DHAVE_MMAP",
|
||||
"-DHAVE_LIBRETRODB",
|
||||
"-DHAVE_GETOPT_LONG",
|
||||
);
|
||||
PREBINDING = NO;
|
||||
SDKROOT = macosx;
|
||||
|
@ -511,7 +511,7 @@ static void retroarch_parse_input(int argc, char *argv[])
|
||||
int c = getopt_long(argc, argv, optstring, opts, NULL);
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("c is: %c, optarg is: [%s]\n", c, string_is_empty(optarg) ? "" : optarg);
|
||||
fprintf(stderr, "c is: %c (%d), optarg is: [%s]\n", c, c, string_is_empty(optarg) ? "" : optarg);
|
||||
#endif
|
||||
|
||||
if (c == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user