mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
Use native getopt_long() on macOS
This commit is contained in:
parent
b1c6317ba5
commit
b690fb2abc
@ -520,6 +520,7 @@
|
|||||||
"-DHAVE_SHADERPIPELINE",
|
"-DHAVE_SHADERPIPELINE",
|
||||||
"-DHAVE_MMAP",
|
"-DHAVE_MMAP",
|
||||||
"-DHAVE_LIBRETRODB",
|
"-DHAVE_LIBRETRODB",
|
||||||
|
"-DHAVE_GETOPT_LONG",
|
||||||
);
|
);
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
@ -573,6 +574,7 @@
|
|||||||
"-DHAVE_SHADERPIPELINE",
|
"-DHAVE_SHADERPIPELINE",
|
||||||
"-DHAVE_MMAP",
|
"-DHAVE_MMAP",
|
||||||
"-DHAVE_LIBRETRODB",
|
"-DHAVE_LIBRETRODB",
|
||||||
|
"-DHAVE_GETOPT_LONG",
|
||||||
);
|
);
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
|
@ -511,7 +511,7 @@ static void retroarch_parse_input(int argc, char *argv[])
|
|||||||
int c = getopt_long(argc, argv, optstring, opts, NULL);
|
int c = getopt_long(argc, argv, optstring, opts, NULL);
|
||||||
|
|
||||||
#if 0
|
#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
|
#endif
|
||||||
|
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user