gen: fix haiku platform (#10875)

pull/10877/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -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' {