Minor fixes for NetBSD
authorSam Lantinga <slouken@lokigames.com>
Sun, 27 May 2001 00:15:42 +0000
changeset 39 a6a2fbe66fd1
parent 38 80139f9b90d8
child 40 9e938507bb06
Minor fixes for NetBSD
configure.in
--- a/configure.in	Sat May 26 21:39:01 2001 +0000
+++ b/configure.in	Sun May 27 00:15:42 2001 +0000
@@ -1284,7 +1284,7 @@
             COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
         fi
         # NetBSD does not define "unix"
-        CFLAGS="$CFLAGS -Dunix"
+        CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1"
         ;;
     *-*-openbsd*)
         ARCH=openbsd
@@ -1871,6 +1871,7 @@
 AM_CONDITIONAL(TARGET_IRIX, test $ARCH = irix)
 AM_CONDITIONAL(TARGET_BSDI, test $ARCH = bsdi)
 AM_CONDITIONAL(TARGET_FREEBSD, test $ARCH = freebsd)
+AM_CONDITIONAL(TARGET_NETBSD, test $ARCH = netbsd)
 AM_CONDITIONAL(TARGET_OPENBSD, test $ARCH = openbsd)
 AM_CONDITIONAL(TARGET_AIX, test $ARCH = aix)
 AM_CONDITIONAL(TARGET_WIN32, test $ARCH = win32)