Explorar o código

Fix GetApplicationDirectory on macOS (#2304)

Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
Nikolas %!s(int64=3) %!d(string=hai) anos
pai
achega
5b8b24c0c5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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