Explorar el Código

Fix GetApplicationDirectory on macOS (#2304)

Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
Nikolas hace 3 años
padre
commit
5b8b24c0c5
Se han modificado 1 ficheros con 1 adiciones y 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