Changed __FreeBSD__ to __BSDSDL__.

This commit is contained in:
n-a-c-h
2005-07-10 02:19:47 +00:00
parent f0d1cd04b2
commit 5c988d10a7
3 changed files with 6 additions and 6 deletions

View File

@@ -38,12 +38,12 @@ case "$target" in
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__BEOS__ -f elf -DELF"
;;
*-*-*openbsd*)
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__FreeBSD__"
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__FreeBSD__ -DELF -f elf"
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__BSDSDL__"
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__BSDSDL__ -DELF -f elf"
;;
*-*-*bsd*)
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__FreeBSD__"
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__FreeBSD__ -DELF -f elf"
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__BSDSDL__"
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__BSDSDL__ -DELF -f elf"
;;
*-*-cygwin* | *-*-*ming*)
CFLAGS="$CFLAGS -D__UNIXSDL__"

View File

@@ -115,7 +115,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#endif
#ifdef __UNIXSDL__
#if !defined(__FreeBSD__) && !defined(__BEOS__)
#if !defined(__BSDSDL__) && !defined(__BEOS__)
#include <asm/ioctls.h>
#else
#include <sys/filio.h>

View File

@@ -372,7 +372,7 @@ DWORD ZFileFindFirst()
*(char *)(DTALocPos + 0x15) = 0;
#ifdef __FreeBSD__
#ifdef __BSDSDL__
if (globbuf.gl_matchc == 0)
return -1;
#endif