From e4116b43a39d636d1201751d0e4bd5bb2ceb652e Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 12 Feb 2014 09:45:28 -0500 Subject: [PATCH] stack_trace: always exports the show_backtrace service If disabled by `opt_stacktrace` it is the body that change, not the client of the function. Signed-off-by: Jean Privat --- src/abstract_compiler.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abstract_compiler.nit b/src/abstract_compiler.nit index 4e61ecf..6c0fa37 100644 --- a/src/abstract_compiler.nit +++ b/src/abstract_compiler.nit @@ -382,7 +382,7 @@ abstract class AbstractCompiler compile_header_structs # Signal handler function prototype - if not toolctx.opt_no_stacktrace.value then self.header.add_decl("void show_backtrace(int);") + self.header.add_decl("void show_backtrace(int);") # Global variable used by the legacy native interface self.header.add_decl("extern int glob_argc;") -- 1.7.9.5