2
0
Эх сурвалжийг харах

Fix GetApplicationDirectory on macOS (#2304)

Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
Nikolas 3 жил өмнө
parent
commit
5b8b24c0c5
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/rcore.c

+ 1 - 0
src/rcore.c

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