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)