diff --git a/pkg/apple/RetroArch.xcodeproj/project.pbxproj b/pkg/apple/RetroArch.xcodeproj/project.pbxproj index d3785b5d5a..b09687894a 100644 --- a/pkg/apple/RetroArch.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch.xcodeproj/project.pbxproj @@ -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; diff --git a/retroarch.c b/retroarch.c index af54841baa..0670ade574 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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)