From 51fc4e2c2042f643b8bb8d37afd5cf1f5c7d447b Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 12 Oct 2020 21:19:32 +0000 Subject: [PATCH] Core: backtrace conditional compilation issue git-svn-id: svn://ultimatepp.org/upp/trunk@15240 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Util.cpp b/uppsrc/Core/Util.cpp index f311e3cae..768564f77 100644 --- a/uppsrc/Core/Util.cpp +++ b/uppsrc/Core/Util.cpp @@ -38,7 +38,7 @@ void PanicMessageBox(const char *title, const char *text) } -#if defined(PLATFORM_LINUX) && defined(COMPILER_GCC) && !defined(PLATFORM_ANDROID) +#if defined(PLATFORM_LINUX) && defined(COMPILER_GCC) && !defined(PLATFORM_ANDROID) && defined(flagSTACKTRACE) void AddStackTrace(char * str, int len) { const size_t max_depth = 100;