mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
i8 print test + $if mac => $if macos
This commit is contained in:
@@ -289,6 +289,7 @@ fn os_name_to_ifdef(name string) string {
|
||||
match name {
|
||||
'windows' { return '_WIN32' }
|
||||
'mac' { return '__APPLE__' }
|
||||
'macos' { return '__APPLE__' }
|
||||
'linux' { return '__linux__' }
|
||||
'freebsd' { return '__FreeBSD__' }
|
||||
'openbsd'{ return '__OpenBSD__' }
|
||||
|
||||
Reference in New Issue
Block a user