set value for _POSIX_C_SOURCE macro
this fixes the raylib build for me.
c46989a1d9
This commit is contained in:
parent
14a17edccf
commit
3f19a5742a
1 changed files with 1 additions and 1 deletions
2
lib.zig
2
lib.zig
|
|
@ -14,7 +14,7 @@ pub fn Pkg(pkgdir: []const u8) type {
|
|||
const raylibFlags = &[_][]const u8{
|
||||
"-std=c99",
|
||||
"-DPLATFORM_DESKTOP",
|
||||
"-D_POSIX_C_SOURCE",
|
||||
"-D_POSIX_C_SOURCE=199309L",
|
||||
"-DGL_SILENCE_DEPRECATION",
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue