Mercurial > sdl-ios-xcode
changeset 846:96ba4eab74fb
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 20 Feb 2004 18:18:20 +0000 |
parents | 333db1d87876 |
children | 0afe0e38e02c |
files | configure.in src/main/dummy/SDL_dummy_main.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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