Commit 124315bf authored by Sam Lantinga's avatar Sam Lantinga

I am using SDL 1.3 on FreeBSD. I found two problems.

(1) SDL_atomic dummy version in SDL 1.3 is not used.
Because src/atomic/dummy/*.c are not used.

(2) Typo in src/joystick/bsd/SDL_sysjoystick.c.

Thanks,
IWATSUKI Hiroyuki
parent 18f2ccec
...@@ -2826,6 +2826,12 @@ if test x$have_loadso != xyes; then ...@@ -2826,6 +2826,12 @@ if test x$have_loadso != xyes; then
fi fi
SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c" SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"
fi fi
if test x$have_atomic != xyes; then
if test x$enable_atomic = xyes; then
AC_DEFINE(SDL_ATOMIC_DISABLED)
fi
SOURCES="$SOURCES $srcdir/src/atomic/dummy/*.c"
fi
if test x$SDLMAIN_SOURCES = x; then if test x$SDLMAIN_SOURCES = x; then
SDLMAIN_SOURCES="$srcdir/src/main/dummy/*.c" SDLMAIN_SOURCES="$srcdir/src/main/dummy/*.c"
fi fi
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#include <libusbhid.h> #include <libusbhid.h>
#endif #endif
#ifdef defined(__FREEBSD__) || defined(__FreeBSD_kernel__) #if defined(__FREEBSD__) || defined(__FreeBSD_kernel__)
#ifndef __DragonFly__ #ifndef __DragonFly__
#include <osreldate.h> #include <osreldate.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment