From 79a5a860a5c8546f1121b132fda595035e06e97c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 20 Jan 2019 16:55:33 +0100 Subject: [PATCH] Compile with libbacktrace on linux. --- TracyClient.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/TracyClient.cpp b/TracyClient.cpp index a552c298..7a2cd288 100644 --- a/TracyClient.cpp +++ b/TracyClient.cpp @@ -21,6 +21,17 @@ #include "common/TracySocket.cpp" #include "client/tracy_rpmalloc.cpp" +#ifdef __linux +# include "libbacktrace/alloc.cpp" +# include "libbacktrace/dwarf.cpp" +# include "libbacktrace/elf.cpp" +# include "libbacktrace/fileline.cpp" +# include "libbacktrace/mmapio.cpp" +# include "libbacktrace/posix.cpp" +# include "libbacktrace/sort.cpp" +# include "libbacktrace/state.cpp" +#endif + #ifdef _MSC_VER # pragma comment(lib, "ws2_32.lib") # pragma comment(lib, "dbghelp.lib")