Mercurial > sdl-ios-xcode
annotate src/main/linux/SDL_main.c @ 606:84d043703e77
Date: Fri, 28 Feb 2003 22:47:56 +0100
From: Denis Oliver Kropp
Subject: Makefile.am fix
I fixed the Makefile.am which lacked many defines.
With this patch SDL on DirectFB doesn't crash on
startup immediately.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 06 Mar 2003 06:18:24 +0000 |
parents | 25dfe480c75e |
children |
rev | line source |
---|---|
0 | 1 |
2 /* Include the SDL main definition header */ | |
3 #include "SDL_main.h" | |
4 #ifdef main | |
5 #undef main | |
6 #endif | |
7 | |
53
25dfe480c75e
Added MacOS X Project Builder projects
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
8 extern int SDL_main(int argc, char *argv[]); |
0 | 9 |
10 int main(int argc, char *argv[]) | |
11 { | |
53
25dfe480c75e
Added MacOS X Project Builder projects
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
12 return(SDL_main(argc, argv)); |
0 | 13 } |