Skip to content

Commit

Permalink
fix amalgamated build (bkaradzic#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfAnet authored Jul 7, 2023
1 parent 96748d9 commit 9b1805e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/filepath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b1805e

Please sign in to comment.