mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-16 08:18:14 +00:00
Fix GetApplicationDirectory on macOS (#2304)
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
This commit is contained in:
@@ -173,6 +173,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#include <sys/syslimits.h>
|
#include <sys/syslimits.h>
|
||||||
|
#include <mach-o/dyld.h>
|
||||||
#endif // OSs
|
#endif // OSs
|
||||||
#endif // PLATFORM_DESKTOP
|
#endif // PLATFORM_DESKTOP
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user