Skip to content

Commit a70b62b

Browse files
committed
Fix FreeBSD build.
1 parent 9339993 commit a70b62b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/thirdparty/oniguruma/config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#define HAVE_ALLOCA 1
99

1010
/* Define to 1 if <alloca.h> works. */
11-
#if !(defined( __WIN32__ ) || defined( _WIN32 ) || defined( _WIN64 ))
11+
#if !( defined( __WIN32__ ) || defined( _WIN32 ) || defined( _WIN64 ) || defined( __OpenBSD__ ) || \
12+
defined( __NetBSD__ ) || defined( __DragonFly__ ) )
1213
#define HAVE_ALLOCA_H 1
1314
#endif
1415

0 commit comments

Comments
 (0)