author | mickeyl <mickeyl> | 2005-02-12 17:20:07 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-02-12 17:20:07 (UTC) |
commit | 5ad68456ddf0b1dc722f92d7f6c94b82677c637c (patch) (side-by-side diff) | |
tree | 1f86710721e9ca624d3a2f59593b4f7be3ddbec6 | |
parent | 292ce81455773c463a8d7ed9c1aef2d08b90514d (diff) | |
download | opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.zip opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.tar.gz opie-5ad68456ddf0b1dc722f92d7f6c94b82677c637c.tar.bz2 |
disable backtracing if building against uclibc
-rw-r--r-- | libopie2/opiecore/odebug.cpp | 4 |
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 @@ -5,64 +5,68 @@ (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org) =. .=l. .>+-= _;:, .> :=|. This program is free software; you can .> <`_, > . <= redistribute it and/or modify it under :`=1 )Y*s>-.-- : the terms of the GNU Library General Public .="- .-=="i, .._ License as published by the Free Software - . .-<_> .<> Foundation; either version 2 of the License, ._= =} : or (at your option) any later version. .%`+i> _;_. .i_,=:_. -<s. This program is distributed in the hope that + . -:. = it will be useful, but WITHOUT ANY WARRANTY; : .. .:, . . . without even the implied warranty of =_ + =;=|` MERCHANTABILITY or FITNESS FOR A _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU ..}^=.= = ; Library General Public License for more ++= -. .` .: details. : = ...= . :.=- -. .:....=;==+<; You should have received a copy of the GNU -_. . . )=. = 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 */ #include <qfile.h> #include <qmessagebox.h> #include <qsocketdevice.h> /* UNIX */ #include <stdlib.h> // abort #include <unistd.h> // getpid #include <stdarg.h> // vararg stuff #include <ctype.h> // isprint #include <syslog.h> #include <errno.h> #include <string.h> #ifndef OPIE_NO_BACKTRACE #include <execinfo.h> #endif namespace Opie { |