raylib
raylib copied to clipboard
Build zig update replaced `defineCMacro()` with equivalent `root_module.addCMacro()`.
This pr updates the build.zig files in the root directory and in the example directory. I don't think this needs to be merged right now, but, this is the change that I needed to do locally to get raylib to compile with the nightly release of the Zig compiler.
There is already a pr for that look https://github.com/raysan5/raylib/pull/4620/
It seems this PR is a duplicate of referred one, closing this one.
My bad I didn't even saw that someone already made a pr, sorry for disturbing.