aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c')
-rw-r--r--distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c b/distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c
new file mode 100644
index 0000000..da47d06
--- /dev/null
+++ b/distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c
@@ -0,0 +1,13 @@
+
+/* Include the SDL main definition header */
+#include "SDL_main.h"
+
+#ifdef main
+#undef main
+int main(int argc, char *argv[])
+{
+ return(SDL_main(argc, argv));
+}
+#else
+/* Nothing to do on this platform */
+#endif