mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 12:07:27 +00:00
set value for _POSIX_C_SOURCE macro
this fixes the raylib build for me.
c46989a1d9
This commit is contained in:
parent
14a17edccf
commit
3f19a5742a
2
lib.zig
2
lib.zig
@ -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",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user