SDL
2.0
SDL_dummy_main.c
Go to the documentation of this file.
1
/*
2
SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14
3
*/
4
#include "../../SDL_internal.h"
5
6
/* Include the SDL main definition header */
7
#include "
SDL_main.h
"
8
9
#ifdef main
10
#undef main
11
int
12
main
(
int
argc,
char
*argv[])
13
{
14
return
(
SDL_main
(argc, argv));
15
}
16
#else
17
/* Nothing to do on this platform */
18
int
19
SDL_main_stub_symbol
(
void
);
20
21
int
22
SDL_main_stub_symbol
(
void
)
23
{
24
return
0;
25
}
26
#endif
27
28
/* vi: set ts=4 sw=4 expandtab: */
SDL_main_stub_symbol
int SDL_main_stub_symbol(void)
Definition:
SDL_dummy_main.c:22
SDL_main.h
SDL_main
C_LINKAGE SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[])
main
#define main
Definition:
SDL_main.h:111
src
main
dummy
SDL_dummy_main.c
Generated by
1.8.13