From 09e410ce5ee34076e4af740db6884be2e42b647d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 22 Jun 2024 11:41:07 -0700 Subject: [PATCH] Cleanup. --- include/bx/platform.h | 6 +++--- src/file.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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;