src/main/dummy/SDL_dummy_main.c
author Sam Lantinga
Sat, 26 Jun 2010 08:56:48 -0700
changeset 4472 791b3256fb22
parent 1949 44b6f09a07d8
child 6217 6952b11b7f46
permissions -rw-r--r--
Mostly cleaned up warnings with -Wmissing-prototypes
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@4472
    15
SDL_main_stub_symbol(void);
slouken@4472
    16
slouken@4472
    17
int
slouken@4472
    18
SDL_main_stub_symbol(void)
slouken@1949
    19
{
slouken@1949
    20
    return 0;
slouken@1949
    21
}
slouken@846
    22
#endif
slouken@1949
    23
slouken@1895
    24
/* vi: set ts=4 sw=4 expandtab: */