*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Fri, 20 Feb 2004 18:18:20 +0000
changeset 846 96ba4eab74fb
parent 845 333db1d87876
child 847 0afe0e38e02c
*** empty log message ***
configure.in
src/main/dummy/SDL_dummy_main.c
--- a/configure.in	Thu Feb 19 21:13:24 2004 +0000
+++ b/configure.in	Fri Feb 20 18:18:20 2004 +0000
@@ -1229,6 +1229,7 @@
         # Do futher testing if we have pthread support...
         if test x$use_pthreads = xyes; then
             CFLAGS="$CFLAGS $pthread_cflags -DSDL_USE_PTHREADS"
+            LIBS="$LIBS $pthread_lib"
             SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags"
             SDL_LIBS="$SDL_LIBS $pthread_lib"
 
--- a/src/main/dummy/SDL_dummy_main.c	Thu Feb 19 21:13:24 2004 +0000
+++ b/src/main/dummy/SDL_dummy_main.c	Fri Feb 20 18:18:20 2004 +0000
@@ -1,11 +1,13 @@
 
 /* Include the SDL main definition header */
 #include "SDL_main.h"
+
 #ifdef main
 #undef main
-#endif
-
 int main(int argc, char *argv[])
 {
 	return(SDL_main(argc, argv));
 }
+#else
+/* Nothing to do on this platform */;
+#endif