瀏覽代碼
Fix GetApplicationDirectory on macOS (#2304)
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
pull/2305/head
Nikolas
3 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
1 行新增 和
0 行删除
-
src/rcore.c
|
@ -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 |
|
|
|
|
|
|
|
|