1
0
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:
Alexander Medvednikov
2019-12-03 16:09:37 +03:00
parent b907cf2179
commit ff80e3a5fa
4 changed files with 17 additions and 2 deletions

View File

@@ -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__' }