set value for _POSIX_C_SOURCE macro

this fixes the raylib build for me.

c46989a1d9
This commit is contained in:
Francisco Demartino 2022-01-08 03:49:30 -03:00
parent 14a17edccf
commit 3f19a5742a

View File

@ -14,7 +14,7 @@ pub fn Pkg(pkgdir: []const u8) type {
const raylibFlags = &[_][]const u8{ const raylibFlags = &[_][]const u8{
"-std=c99", "-std=c99",
"-DPLATFORM_DESKTOP", "-DPLATFORM_DESKTOP",
"-D_POSIX_C_SOURCE", "-D_POSIX_C_SOURCE=199309L",
"-DGL_SILENCE_DEPRECATION", "-DGL_SILENCE_DEPRECATION",
}; };