Skip to content
Snippets Groups Projects
Commit cfdaf02e authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Well, that didn't work, just disable the backtrace on Linux

Presumably it's because I'm not using std=gnu11 or whatever
parent 9750692d
No related branches found
No related tags found
No related merge requests found
Pipeline #7399 passed
......@@ -5,7 +5,7 @@
void displayBacktrace( void );
#elif defined( __UNIX__ ) && \
- ( defined( __APPLE__ ) || defined( __linux__ ) || defined( __sun ) )
+ ( defined( __APPLE__ ) || (defined( __linux__ ) && defined( __USE_GNU)) || defined( __sun ) )
+ ( defined( __APPLE__ ) || defined( __sun ) )
#define DEBUG_DUMP_STACKTRACE displayBacktrace
void displayBacktrace( void );
#else
......@@ -16,7 +16,7 @@
#elif defined( __UNIX__ ) && \
- ( defined( __APPLE__ ) || defined( __linux__ ) || defined( __sun ) )
+ ( defined( __APPLE__ ) || (defined( __linux__ ) && defined( __USE_GNU)) || defined( __sun ) )
+ ( defined( __APPLE__ ) || defined( __sun ) )
#include <execinfo.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment