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

ci: fix -prod compilation of sokol apps

This commit is contained in:
Delyan Angelov
2023-01-11 22:37:41 +02:00
parent 60f4654bbe
commit 00cef70220

View File

@ -36,5 +36,7 @@ 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,
const_message)
}
C.SOKOL_LOG(const_message)
$if !prod {
C.SOKOL_LOG(const_message)
}
}