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:
@@ -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,
|
C.fprintf(C.stderr, c'sokol.memory.slog | user_data: %p, message: %s\n', user_data,
|
||||||
const_message)
|
const_message)
|
||||||
}
|
}
|
||||||
|
$if !prod {
|
||||||
C.SOKOL_LOG(const_message)
|
C.SOKOL_LOG(const_message)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user