Placate versions of ranlib which complain about empty files (Mac OS X 10.4)
authorSam Lantinga <slouken@libsdl.org>
Wed, 26 Jul 2006 06:34:31 +0000
changeset 1949 44b6f09a07d8
parent 1948 d646f6e1a439
child 1950 a344e42bce3b
Placate versions of ranlib which complain about empty files (Mac OS X 10.4)
src/main/dummy/SDL_dummy_main.c
--- a/src/main/dummy/SDL_dummy_main.c	Wed Jul 26 04:22:32 2006 +0000
+++ b/src/main/dummy/SDL_dummy_main.c	Wed Jul 26 06:34:31 2006 +0000
@@ -11,5 +11,11 @@
 }
 #else
 /* Nothing to do on this platform */
+int
+SDL_main_stub_symbol()
+{
+    return 0;
+}
 #endif
+
 /* vi: set ts=4 sw=4 expandtab: */