mirror of https://github.com/nodejs/node.git
Preprocess out assert()
parent
39ff40e5a2
commit
8bd7e4fad8
1
wscript
1
wscript
|
@ -601,6 +601,7 @@ def build(bld):
|
||||||
make_macros(macros_loc_debug, "") # leave debug(x) as is in debug build
|
make_macros(macros_loc_debug, "") # leave debug(x) as is in debug build
|
||||||
# replace debug(x) with nothing in release build
|
# replace debug(x) with nothing in release build
|
||||||
make_macros(macros_loc_default, "macro debug(x) = ;\n")
|
make_macros(macros_loc_default, "macro debug(x) = ;\n")
|
||||||
|
make_macros(macros_loc_default, "macro assert(x) = ;\n")
|
||||||
|
|
||||||
if not bld.env["USE_DTRACE"]:
|
if not bld.env["USE_DTRACE"]:
|
||||||
make_macros(macros_loc_default, "macro DTRACE_HTTP_SERVER_RESPONSE(x) = ;\n");
|
make_macros(macros_loc_default, "macro DTRACE_HTTP_SERVER_RESPONSE(x) = ;\n");
|
||||||
|
|
Loading…
Reference in New Issue