Skip to content

Commit 8bd7e4f

Browse files
committed
Preprocess out assert()
1 parent 39ff40e commit 8bd7e4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wscript

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@ def build(bld):
601601
make_macros(macros_loc_debug, "") # leave debug(x) as is in debug build
602602
# replace debug(x) with nothing in release build
603603
make_macros(macros_loc_default, "macro debug(x) = ;\n")
604+
make_macros(macros_loc_default, "macro assert(x) = ;\n")
604605

605606
if not bld.env["USE_DTRACE"]:
606607
make_macros(macros_loc_default, "macro DTRACE_HTTP_SERVER_RESPONSE(x) = ;\n");

0 commit comments

Comments
 (0)