summaryrefslogtreecommitdiff
path: root/libopie2/opiecore
authormickeyl <mickeyl>2005-02-12 17:20:07 (UTC)
committer mickeyl <mickeyl>2005-02-12 17:20:07 (UTC)
commit5ad68456ddf0b1dc722f92d7f6c94b82677c637c (patch) (unidiff)
tree1f86710721e9ca624d3a2f59593b4f7be3ddbec6 /libopie2/opiecore
parent292ce81455773c463a8d7ed9c1aef2d08b90514d (diff)
downloadopie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.zip
opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.tar.gz
opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.tar.bz2
disable backtracing if building against uclibc
Diffstat (limited to 'libopie2/opiecore') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/odebug.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie2/opiecore/odebug.cpp b/libopie2/opiecore/odebug.cpp
index d8dfe26..45709dc 100644
--- a/libopie2/opiecore/odebug.cpp
+++ b/libopie2/opiecore/odebug.cpp
@@ -31,12 +31,16 @@
31 31
32// Include this header without OPIE_NO_DEBUG defined to avoid having the oDebugInfo 32// Include this header without OPIE_NO_DEBUG defined to avoid having the oDebugInfo
33// functions inlined to noops (which would then conflict with their definition here). 33// functions inlined to noops (which would then conflict with their definition here).
34 34
35#include <opie2/odebug.h> 35#include <opie2/odebug.h>
36 36
37#if defined(__UCLIBC__)
38#define OPIE_NO_BACKTRACE
39#endif
40
37#ifdef OPIE_NO_DEBUG 41#ifdef OPIE_NO_DEBUG
38#undef odDebug 42#undef odDebug
39#undef odBacktrace 43#undef odBacktrace
40#endif 44#endif
41 45
42/* OPIE */ 46/* OPIE */