You could do it by separating the body with a semicolon:
if something_is_true(); log("warning!")
I haven't really considered the preprocessor as I prefer to avoid it as much as possible.