From 8bd7e4fad81bb62cb463831800ddde5059969f6b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 25 Jan 2011 12:53:36 -0800 Subject: [PATCH] Preprocess out assert() --- wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/wscript b/wscript index bc07ba36e9..2fb8f9ad32 100644 --- a/wscript +++ b/wscript @@ -601,6 +601,7 @@ def build(bld): make_macros(macros_loc_debug, "") # leave debug(x) as is in debug build # replace debug(x) with nothing in release build make_macros(macros_loc_default, "macro debug(x) = ;\n") + make_macros(macros_loc_default, "macro assert(x) = ;\n") if not bld.env["USE_DTRACE"]: make_macros(macros_loc_default, "macro DTRACE_HTTP_SERVER_RESPONSE(x) = ;\n");