Fix GetApplicationDirectory on macOS (#2304)

Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
This commit is contained in:
Nikolas 2022-01-22 17:25:53 +01:00 committed by GitHub
parent 45ef46c5e8
commit 5b8b24c0c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,6 +173,7 @@
#include <unistd.h>
#elif defined(__APPLE__)
#include <sys/syslimits.h>
#include <mach-o/dyld.h>
#endif // OSs
#endif // PLATFORM_DESKTOP