DragonFly: fix build
Fix the build for DragonFlyBSD.
This commit is contained in:
@@ -38,6 +38,9 @@ extern "C" {
|
||||
# define _ALL_SOURCE
|
||||
# undef HAS_SYS_TERMIOS
|
||||
#endif
|
||||
#if defined(__DragonFly__)
|
||||
# undef HAS_SYS_TERMIOS
|
||||
#endif
|
||||
#define _LARGEFILE64_SOURCE 1
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
#define __USE_POSIX 1 //needed for sigjmp_buf in glibc setjmp.h
|
||||
|
||||
Reference in New Issue
Block a user