Haiku patches

This commit is contained in:
Zoltán Mizsei
2021-01-18 22:00:29 +01:00
parent 34bd328901
commit fd91eb69db
2 changed files with 8 additions and 0 deletions

View File

@@ -487,6 +487,10 @@ case "$host" in
dnl FEATURE: Whether to support direct serial port passthrough
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
;;
*-*-haiku*)
AC_DEFINE(BSD, 1, [Compiling on BSD])
LIBS="$LIBS -lbsd -lnetwork"
CXXFLAGS="$CXXFLAGS -D_BSD_SOURCE"
*-*-os2-emx*)
AC_DEFINE(OS2, 1, [Compiling on OS/2 EMX])
dnl FEATURE: Whether to support direct serial port passthrough