]> git.pld-linux.org Git - packages/SDL.git/blame - SDL-SDLmain-dummy.patch
- fix for SDL_dummy_main.c (used on linux)
[packages/SDL.git] / SDL-SDLmain-dummy.patch
CommitLineData
98faac18 1diff -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.050099 seconds and 4 git commands to generate.