]> git.pld-linux.org Git - packages/SDL.git/blob - SDL-SDLmain-dummy.patch
- fix for SDL_dummy_main.c (used on linux)
[packages/SDL.git] / SDL-SDLmain-dummy.patch
1 diff -Nur SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c
2 --- SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c     2006-05-01 08:02:39.000000000 +0000
3 +++ SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c    2006-11-05 21:24:13.000000000 +0000
4 @@ -3,11 +3,9 @@
5  #include "SDL_main.h"
6  
7  #ifdef main
8 -#undef main
9 +# undef main
10 +#endif
11  int main(int argc, char *argv[])
12  {
13         return(SDL_main(argc, argv));
14  }
15 -#else
16 -/* Nothing to do on this platform */
17 -#endif
This page took 0.024471 seconds and 3 git commands to generate.