|
- //
- // Lol Engine
- //
- // Copyright © 2010—2016 Sam Hocevar <sam@hocevar.net>
- //
- // Lol Engine is free software. It comes without any warranty, to
- // the extent permitted by applicable law. You can redistribute it
- // and/or modify it under the terms of the Do What the Fuck You Want
- // to Public License, Version 2, as published by the WTFPL Task Force.
- // See http://www.wtfpl.net/ for more details.
- //
-
- #pragma once
-
- //
- // The main header (for all applications)
- // --------------------------------------
- //
-
- /* If using NaCl or Android, override main() with our version */
- #if __native_client__
- # define main lol_nacl_main
- #elif __ANDROID__
- # define main lol_android_main
- #endif
-
- /* If using SDL on Windows or OS X, let it override main() */
- #if (LOL_USE_SDL || LOL_USE_OLD_SDL) && (_WIN32 || __APPLE__)
- # include <SDL_main.h>
- #endif
-
- #include <lol/public.h>
- #include <lol/extras.h>
|