Mercurial > sdl-ios-xcode
view src/main/dummy/SDL_dummy_main.c @ 3950:9d9e15ab1697 SDL-1.2
Check if yasm supports a nasm-specific syntax we use (it doesn't in 0.5.0,
which is still common in Linux distros, and does in 0.6.0). Disable it if we
don't, attempting to fallback to using nasm. Thanks to Mike Frysinger for the
patch.
Fixes Bugzilla #393.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 04 Jun 2007 11:06:48 +0000 |
parents | 5b3bb08e7dd8 |
children | 782fd950bd46 c121d94672cb |
line wrap: on
line source
/* Include the SDL main definition header */ #include "SDL_main.h" #ifdef main #undef main int main(int argc, char *argv[]) { return(SDL_main(argc, argv)); } #else /* Nothing to do on this platform */ #endif