Atlas - SDL_dummy_main.c
Home / ext / SDL2 / src / main / dummy Lines: 1 | Size: 446 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]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 11int 12main(int argc, char *argv[]) 13{ 14 return (SDL_main(argc, argv)); 15} 16#else 17/* Nothing to do on this platform */ 18int 19SDL_main_stub_symbol(void); 20 21int 22SDL_main_stub_symbol(void) 23{ 24 return 0; 25} 26#endif 27 28/* vi: set ts=4 sw=4 expandtab: */ 29[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.