File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ typedef SInt32 SRefCon;
87
87
#include " qgsrectangle.h"
88
88
#include " qgslogger.h"
89
89
90
- #if (defined(linux) && !defined(ANDROID)) || defined(__FreeBSD__)
90
+ #if (( defined(linux) || defined(__linux__) ) && !defined(ANDROID)) || defined(__FreeBSD__)
91
91
#include < unistd.h>
92
92
#include < execinfo.h>
93
93
#include < signal.h>
@@ -175,7 +175,7 @@ static void dumpBacktrace( unsigned int depth )
175
175
if ( depth == 0 )
176
176
depth = 20 ;
177
177
178
- #if (defined(linux) && !defined(ANDROID)) || defined(__FreeBSD__)
178
+ #if (( defined(linux) || defined(__linux__) ) && !defined(ANDROID)) || defined(__FreeBSD__)
179
179
int stderr_fd = -1 ;
180
180
if ( access ( " /usr/bin/c++filt" , X_OK ) < 0 )
181
181
{
@@ -234,7 +234,7 @@ static void dumpBacktrace( unsigned int depth )
234
234
void **buffer = new void *[ depth ];
235
235
236
236
SymSetOptions ( SYMOPT_DEFERRED_LOADS | SYMOPT_INCLUDE_32BIT_MODULES | SYMOPT_UNDNAME );
237
- SymInitialize ( GetCurrentProcess (), " http://msdl.microsoft.com/download/symbols" , TRUE );
237
+ SymInitialize ( GetCurrentProcess (), " http://msdl.microsoft.com/download/symbols;http://download.osgeo.org/osgeo4w/symstore " , TRUE );
238
238
239
239
unsigned short nFrames = CaptureStackBackTrace ( 1 , depth, buffer, NULL );
240
240
SYMBOL_INFO *symbol = ( SYMBOL_INFO * ) qgsMalloc ( sizeof ( SYMBOL_INFO ) + 256 );
You can’t perform that action at this time.
0 commit comments