Fix GetApplicationDirectory on macOS (#2304)
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
This commit is contained in:
parent
45ef46c5e8
commit
5b8b24c0c5
|
|
@ -173,6 +173,7 @@
|
|||
#include <unistd.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <sys/syslimits.h>
|
||||
#include <mach-o/dyld.h>
|
||||
#endif // OSs
|
||||
#endif // PLATFORM_DESKTOP
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user