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"
|
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__BEOS__ -f elf -DELF"
|
||||||
;;
|
;;
|
||||||
*-*-*openbsd*)
|
*-*-*openbsd*)
|
||||||
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__FreeBSD__"
|
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__BSDSDL__"
|
||||||
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__FreeBSD__ -DELF -f elf"
|
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__BSDSDL__ -DELF -f elf"
|
||||||
;;
|
;;
|
||||||
*-*-*bsd*)
|
*-*-*bsd*)
|
||||||
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__FreeBSD__"
|
CFLAGS="$CFLAGS -D__UNIXSDL__ -D__BSDSDL__"
|
||||||
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__FreeBSD__ -DELF -f elf"
|
NFLAGS="$NFLAGS -D__UNIXSDL__ -D__BSDSDL__ -DELF -f elf"
|
||||||
;;
|
;;
|
||||||
*-*-cygwin* | *-*-*ming*)
|
*-*-cygwin* | *-*-*ming*)
|
||||||
CFLAGS="$CFLAGS -D__UNIXSDL__"
|
CFLAGS="$CFLAGS -D__UNIXSDL__"
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __UNIXSDL__
|
#ifdef __UNIXSDL__
|
||||||
#if !defined(__FreeBSD__) && !defined(__BEOS__)
|
#if !defined(__BSDSDL__) && !defined(__BEOS__)
|
||||||
#include <asm/ioctls.h>
|
#include <asm/ioctls.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/filio.h>
|
#include <sys/filio.h>
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ DWORD ZFileFindFirst()
|
|||||||
|
|
||||||
*(char *)(DTALocPos + 0x15) = 0;
|
*(char *)(DTALocPos + 0x15) = 0;
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __BSDSDL__
|
||||||
if (globbuf.gl_matchc == 0)
|
if (globbuf.gl_matchc == 0)
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user