From 05466ce1b604c96707b59b260209e7488d40e19f Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 13 Jul 2021 11:30:51 +0300 Subject: [PATCH] v.gen.c: fix cheaders.v --- vlib/v/gen/c/cheaders.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/cheaders.v b/vlib/v/gen/c/cheaders.v index cd4fa7928a..5a3d71bfdd 100644 --- a/vlib/v/gen/c/cheaders.v +++ b/vlib/v/gen/c/cheaders.v @@ -332,7 +332,7 @@ voidptr memdup(voidptr src, int sz); #error Cygwin is not supported, please use MinGW or Visual Studio. #endif -#ifdef defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__vinix__) || defined(__serenity__) || defined(__sun) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__vinix__) || defined(__serenity__) || defined(__sun) #include #include // os__wait uses wait on nix #endif