Windows doesn't have getpid()

This commit is contained in:
Frank Denis 2022-11-27 21:27:02 +01:00
parent 8081df0b64
commit 1203bbcc4d

View File

@ -83,7 +83,6 @@ pub fn build(b: *std.build.Builder) !void {
lib.defineCMacro("HAVE_WEAK_SYMBOLS", "1"); lib.defineCMacro("HAVE_WEAK_SYMBOLS", "1");
}, },
.windows => { .windows => {
lib.defineCMacro("HAVE_GETPID", "1");
lib.defineCMacro("HAVE_RAISE", "1"); lib.defineCMacro("HAVE_RAISE", "1");
lib.defineCMacro("HAVE_SYS_PARAM_H", "1"); lib.defineCMacro("HAVE_SYS_PARAM_H", "1");
}, },