From 3e19793ba9d6dfe9889fcb41db730f8ee54c2784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 15 Jul 2017 21:14:58 -0700 Subject: [PATCH] Fixed build. --- src/filepath.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/filepath.cpp b/src/filepath.cpp index 4aaaa58..0771b82 100644 --- a/src/filepath.cpp +++ b/src/filepath.cpp @@ -7,6 +7,10 @@ #include #include +#if BX_PLATFORM_WINDOWS +extern "C" __declspec(dllimport) uint32_t __stdcall GetTempPathA(uint32_t _max, const char* _ptr); +#endif // BX_PLATFORM_WINDOWS + namespace bx { static bool isPathSeparator(char _ch)