mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: workaround for $if prod {
not working properly with msvc
This commit is contained in:
parent
00cef70220
commit
131086b647
@ -36,7 +36,11 @@ pub fn slog(const_message &char, user_data voidptr) {
|
|||||||
C.fprintf(C.stderr, c'sokol.memory.slog | user_data: %p, message: %s\n', user_data,
|
C.fprintf(C.stderr, c'sokol.memory.slog | user_data: %p, message: %s\n', user_data,
|
||||||
const_message)
|
const_message)
|
||||||
}
|
}
|
||||||
|
$if msvc {
|
||||||
|
C.fprintf(C.stderr, c'%s\n', const_message)
|
||||||
|
} $else {
|
||||||
$if !prod {
|
$if !prod {
|
||||||
C.SOKOL_LOG(const_message)
|
C.SOKOL_LOG(const_message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user