Commit 28f51bd3 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40847
parent 54478fc8
...@@ -1229,6 +1229,7 @@ CheckPTHREAD() ...@@ -1229,6 +1229,7 @@ CheckPTHREAD()
# Do futher testing if we have pthread support... # Do futher testing if we have pthread support...
if test x$use_pthreads = xyes; then if test x$use_pthreads = xyes; then
CFLAGS="$CFLAGS $pthread_cflags -DSDL_USE_PTHREADS" CFLAGS="$CFLAGS $pthread_cflags -DSDL_USE_PTHREADS"
LIBS="$LIBS $pthread_lib"
SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags" SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags"
SDL_LIBS="$SDL_LIBS $pthread_lib" SDL_LIBS="$SDL_LIBS $pthread_lib"
......
/* Include the SDL main definition header */ /* Include the SDL main definition header */
#include "SDL_main.h" #include "SDL_main.h"
#ifdef main #ifdef main
#undef main #undef main
#endif
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
return(SDL_main(argc, argv)); return(SDL_main(argc, argv));
} }
#else
/* Nothing to do on this platform */;
#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