File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ ifeq ($(UNAME_S),NetBSD)
53
53
CFLAGS += -pthread
54
54
CXXFLAGS += -pthread
55
55
endif
56
+ ifeq ($(UNAME_S ) ,OpenBSD)
57
+ CFLAGS += -pthread
58
+ CXXFLAGS += -pthread
59
+ endif
56
60
ifeq ($(UNAME_S ) ,Haiku)
57
61
CFLAGS += -pthread
58
62
CXXFLAGS += -pthread
Original file line number Diff line number Diff line change 2
2
3
3
#if defined(_MSC_VER ) || defined(__MINGW32__ )
4
4
#include <malloc.h> // using malloc.h with MSC/MINGW
5
- #elif !defined(__FreeBSD__ ) && !defined(__NetBSD__ )
5
+ #elif !defined(__FreeBSD__ ) && !defined(__NetBSD__ ) && !defined( __OpenBSD__ )
6
6
#include <alloca.h>
7
7
#endif
8
8
<
7EBC
code class="diff-text-cell hunk">
Original file line number Diff line number Diff line change 12
12
13
13
#if defined(_MSC_VER) || defined(__MINGW32__)
14
14
#include < malloc.h> // using malloc.h with MSC/MINGW
15
- #elif !defined(__FreeBSD__) && !defined(__NetBSD__)
15
+ #elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
16
16
#include < alloca.h>
17
17
#endif
18
18
You can’t perform that action at this time.
0 commit comments