diff --git a/include/bx/platform.h b/include/bx/platform.h index 96ef33a..686d98e 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -238,12 +238,12 @@ # elif defined(__GLIBC__) # undef BX_CRT_GLIBC # define BX_CRT_GLIBC (__GLIBC__ * 10000 + __GLIBC_MINOR__ * 100) -# elif defined(__apple_build_version__) || defined(__ORBIS__) || defined(__EMSCRIPTEN__) || defined(__llvm__) || defined(__HAIKU__) -# undef BX_CRT_LIBCXX -# define BX_CRT_LIBCXX 1 # elif defined(__MINGW32__) || defined(__MINGW64__) # undef BX_CRT_MINGW # define BX_CRT_MINGW 1 +# elif defined(__apple_build_version__) || defined(__ORBIS__) || defined(__EMSCRIPTEN__) || defined(__llvm__) || defined(__HAIKU__) +# undef BX_CRT_LIBCXX +# define BX_CRT_LIBCXX 1 # elif defined(_MSC_VER) # undef BX_CRT_MSVC # define BX_CRT_MSVC 1 diff --git a/src/file.cpp b/src/file.cpp index dfe56b8..1ed80a0 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -800,7 +800,7 @@ namespace bx #if BX_CRT_MSVC int32_t result = ::_mkdir(_filePath.getCPtr() ); #elif BX_CRT_MINGW - int32_t result = ::mkdir(_filePath.getCPtr()); + int32_t result = ::mkdir(_filePath.getCPtr() ); #elif BX_CRT_NONE BX_UNUSED(_filePath); int32_t result = -1;