diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-01-26 21:12:51 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-01-26 21:16:20 +0100 |
commit | 631b41f9a484814e7758f9771ec9af5b7ffd648a (patch) | |
tree | c93850e8502d257c576c7088eb4d1d9d1a00b8a9 /kdesktop/lock/lockprocess.cc | |
parent | 3b356437260a9a713d5960d1a26aa30fba40b864 (diff) | |
download | tdebase-631b41f9a484814e7758f9771ec9af5b7ffd648a.tar.gz tdebase-631b41f9a484814e7758f9771ec9af5b7ffd648a.zip |
Add CMake option for backtrace in kdesktop_lock exception handler
(cherry picked from commit 936d3cec490c13f2c5f7dd14f5e364fddaa6da71)
Diffstat (limited to 'kdesktop/lock/lockprocess.cc')
-rw-r--r-- | kdesktop/lock/lockprocess.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index 3e08ef71c..da70102cf 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -137,6 +137,7 @@ static Atom gXA_SCREENSAVER_VERSION; void print_trace() { +#ifdef WITH_KDESKTOP_LOCK_BACKTRACE void *array[10]; size_t size; char **strings; @@ -152,6 +153,7 @@ void print_trace() } free (strings); +#endif } static void segv_handler(int) |