]> git.pld-linux.org Git - packages/SDL.git/commitdiff
- fix for SDL_dummy_main.c (used on linux)
authorsparky <sparky@pld-linux.org>
Sun, 5 Nov 2006 21:36:26 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL-SDLmain-dummy.patch -> 1.1

SDL-SDLmain-dummy.patch [new file with mode: 0644]

diff --git a/SDL-SDLmain-dummy.patch b/SDL-SDLmain-dummy.patch
new file mode 100644 (file)
index 0000000..a183b6e
--- /dev/null
@@ -0,0 +1,17 @@
+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
+--- SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c    2006-05-01 08:02:39.000000000 +0000
++++ SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c   2006-11-05 21:24:13.000000000 +0000
+@@ -3,11 +3,9 @@
+ #include "SDL_main.h"
+ #ifdef main
+-#undef main
++# undef main
++#endif
+ int main(int argc, char *argv[])
+ {
+       return(SDL_main(argc, argv));
+ }
+-#else
+-/* Nothing to do on this platform */
+-#endif
This page took 0.079408 seconds and 4 git commands to generate.