Skip to content

Commit

Permalink
Do not use execinfo/backtrace on OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
bvschaik committed Nov 10, 2018
1 parent 232ff96 commit e757be7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/platform/julius.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <string.h>
#endif

#if defined(__GNUC__) && !defined(__MINGW32__)
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__)
#include <execinfo.h>
#endif

Expand All @@ -39,7 +39,7 @@ enum {
};

static void handler(int sig) {
#if defined(__GNUC__) && !defined(__MINGW32__)
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__)
void *array[100];
size_t size;

Expand Down
4 changes: 2 additions & 2 deletions test/sav/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "game/game.h"
#include "game/settings.h"

#if defined(__GNUC__) && !defined(__MINGW32__)
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__)
#include <execinfo.h>
#endif

Expand All @@ -22,7 +22,7 @@

static void handler(int sig)
{
#if defined(__GNUC__) && !defined(__MINGW32__)
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__)
void *array[100];
size_t size;

Expand Down

0 comments on commit e757be7

Please sign in to comment.