fix amalgamated build (#302)

This commit is contained in:
James Fulop
2023-07-07 13:41:42 -07:00
committed by GitHub
parent 96748d9a58
commit 9b1805ea8b

View File

@@ -16,7 +16,9 @@
#endif // !BX_CRT_NONE
#if BX_PLATFORM_WINDOWS
#if !defined(GetModuleFileName)
extern "C" __declspec(dllimport) unsigned long __stdcall GetModuleFileNameA(void* _module, char* _outFilePath, unsigned long _size);
#endif
extern "C" __declspec(dllimport) unsigned long __stdcall GetTempPathA(unsigned long _max, char* _outFilePath);
#elif BX_PLATFORM_OSX
extern "C" int _NSGetExecutablePath(char* _buf, uint32_t* _bufSize);