summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-02-12 17:20:07 (UTC)
committer mickeyl <mickeyl>2005-02-12 17:20:07 (UTC)
commit5ad68456ddf0b1dc722f92d7f6c94b82677c637c (patch) (side-by-side diff)
tree1f86710721e9ca624d3a2f59593b4f7be3ddbec6
parent292ce81455773c463a8d7ed9c1aef2d08b90514d (diff)
downloadopie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.zip
opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.tar.gz
opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.tar.bz2
disable backtracing if building against uclibc
Diffstat (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
@@ -25,24 +25,28 @@
  -_. . .   )=.  = Library General Public License along with
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
// Include this header without OPIE_NO_DEBUG defined to avoid having the oDebugInfo
// functions inlined to noops (which would then conflict with their definition here).
#include <opie2/odebug.h>
+#if defined(__UCLIBC__)
+#define OPIE_NO_BACKTRACE
+#endif
+
#ifdef OPIE_NO_DEBUG
#undef odDebug
#undef odBacktrace
#endif
/* OPIE */
#include <opie2/oapplication.h>
#include <opie2/oglobalsettings.h>
#include <opie2/oconfig.h>
/* QT */