Fix GetApplicationDirectory on macOS

Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
This commit is contained in:
Nikolas 2022-01-22 16:34:34 +01:00 • committed by GitHub
commit 94b23a4bc8
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