Skip to content
Snippets Groups Projects
Commit 12ef2f53 authored by deuce's avatar deuce
Browse files

If the regular main() is kept through SLD (ie: *nix) don't fiddle around.

parent f4f92c57
Branches
Tags
No related merge requests found
......@@ -4,7 +4,14 @@
#include <dlfcn.h>
#endif
#include <SDL.h>
#ifndef main
#define USE_REAL_MAIN
#endif
#include "gen_defs.h"
#ifdef USE_REAL_MAIN
#undef main
#endif
#include "sdlfuncs.h"
#ifndef _WIN32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment