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

Rename the CIOLIB_main to XPDEV_main move from ciolib.h to gen_defs.h

Probobly everything with a main function will now need to be recompiled...
hopefully, auto-dependencies will fix this (touching gen_defs.h should make
the entire universe rebuild imho)
parent 09109a00
No related branches found
No related tags found
No related merge requests found
......@@ -353,9 +353,4 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_loadfont(char *filename);
#define loadfont(a) ciolib_loadfont(a)
#endif
/* Special hackery for SDL */
#ifdef WITH_SDL
#define main CIOLIB_main
#endif
#endif /* Do not add anything after this line */
......@@ -353,5 +353,9 @@ typedef struct {
#define LOG_DEBUG 7 /* debug-level messages */
#endif
/* Special hackery for SDL */
#ifdef WITH_SDL
#define main XPDEV_main
#endif
#endif /* Don't add anything after this #endif statement */
......@@ -414,5 +414,5 @@ int SDL_main_env(int argc, char **argv, char **env)
}
if(sdl_initialized)
atexit(sdl_exit);
return(CIOLIB_main(argc, argv, env));
return(XPDEV_main(argc, argv, env));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment