File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ typedef SInt32 SRefCon;
7474#include " qgsrectangle.h"
7575#include " qgslogger.h"
7676
77- #if defined(linux)
77+ #if defined(linux) && ! defined(ANDROID)
7878#include < execinfo.h>
7979#endif
8080
@@ -174,7 +174,7 @@ void myMessageOutput( QtMsgType type, const char *msg )
174174 || 0 == strncmp ( msg, " QPainter::" , 10 ) )
175175 {
176176#if 0
177- #ifdef linux
177+ #if defined( linux) && ! defined(ANDROID)
178178 fprintf( stderr, "Stacktrace (run through c++filt):\n" );
179179 void *buffer[256];
180180 int nptrs = backtrace( buffer, sizeof( buffer ) / sizeof( *buffer ) );
@@ -196,7 +196,7 @@ void myMessageOutput( QtMsgType type, const char *msg )
196196 case QtFatalMsg:
197197 {
198198 fprintf ( stderr, " Fatal: %s\n " , msg );
199- #ifdef linux
199+ #if defined( linux) && ! defined(ANDROID)
200200 fprintf ( stderr, " Stacktrace (run through c++filt):\n " );
201201 void *buffer[256 ];
202202 int nptrs = backtrace ( buffer, sizeof ( buffer ) / sizeof ( *buffer ) );
You can’t perform that action at this time.
0 commit comments