From 3f5e3c4bfefa50b445bc278790c0fe942c023ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=A4schle?= Date: Tue, 20 Jul 2021 15:13:23 +0200 Subject: [PATCH] gen: fix haiku platform (#10875) --- vlib/v/gen/c/comptime.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/comptime.v b/vlib/v/gen/c/comptime.v index d229af3daa..78ed3ff44c 100644 --- a/vlib/v/gen/c/comptime.v +++ b/vlib/v/gen/c/comptime.v @@ -591,7 +591,7 @@ fn (mut g Gen) comp_if_to_ifdef(name string, is_comptime_optional bool) ?string return '__sun' } 'haiku' { - return '__haiku__' + return '__HAIKU__' } // 'js' {