1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gen: fix haiku platform (#10875)

This commit is contained in:
Daniel Däschle 2021-07-20 15:13:23 +02:00 committed by GitHub
parent 2c9f6899ba
commit 3f5e3c4bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -591,7 +591,7 @@ fn (mut g Gen) comp_if_to_ifdef(name string, is_comptime_optional bool) ?string
return '__sun' return '__sun'
} }
'haiku' { 'haiku' {
return '__haiku__' return '__HAIKU__'
} }
// //
'js' { 'js' {