*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40847
This commit is contained in:
parent
54478fc8ca
commit
28f51bd31d
2 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
|
|
||||||
/* 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue