src/main/dummy/SDL_dummy_main.c
author Sam Lantinga
Wed, 26 Jul 2006 06:34:31 +0000
changeset 1949 44b6f09a07d8
parent 1895 c121d94672cb
child 4472 791b3256fb22
permissions -rw-r--r--
Placate versions of ranlib which complain about empty files (Mac OS X 10.4)
slouken@754
     1
slouken@754
     2
/* Include the SDL main definition header */
slouken@754
     3
#include "SDL_main.h"
slouken@846
     4
slouken@754
     5
#ifdef main
slouken@754
     6
#undef main
slouken@1895
     7
int
slouken@1895
     8
main(int argc, char *argv[])
slouken@754
     9
{
slouken@1895
    10
    return (SDL_main(argc, argv));
slouken@754
    11
}
slouken@846
    12
#else
slouken@1753
    13
/* Nothing to do on this platform */
slouken@1949
    14
int
slouken@1949
    15
SDL_main_stub_symbol()
slouken@1949
    16
{
slouken@1949
    17
    return 0;
slouken@1949
    18
}
slouken@846
    19
#endif
slouken@1949
    20
slouken@1895
    21
/* vi: set ts=4 sw=4 expandtab: */