Changed __FreeBSD__ to __BSDSDL__.
This commit is contained in:
@@ -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__"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -372,7 +372,7 @@ DWORD ZFileFindFirst()
|
||||
|
||||
*(char *)(DTALocPos + 0x15) = 0;
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef __BSDSDL__
|
||||
if (globbuf.gl_matchc == 0)
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user