diff --git a/src/tmx2gba.cpp b/src/tmx2gba.cpp index bc5f1d9..f98a85c 100644 --- a/src/tmx2gba.cpp +++ b/src/tmx2gba.cpp @@ -79,10 +79,12 @@ struct SParams void GetoptClear () { +#ifdef _MSC_VER optarg = nullptr; optind = 0; -#ifdef _MSC_VER next = nullptr; +#else + optreset = 1; #endif }