1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-17 11:59:28 +00:00

re-enable linking against SDLmain

This commit is contained in:
fgenesis 2011-08-11 17:01:36 +02:00
commit 5c6ed37b99
4 changed files with 9 additions and 20 deletions

View file

@ -12,11 +12,6 @@
#define AQUARIA_CUSTOM_BUILD_ID ""
// no console window in release mode (note for MSVC: use together with linker SubSystem setting)
#ifdef NDEBUG
# define AQUARIA_WIN32_NOCONSOLE
#endif
#endif

View file

@ -65,7 +65,7 @@ static void CheckConfig(void)
}
#if defined(BBGE_BUILD_WINDOWS) && defined(AQUARIA_WIN32_NOCONSOLE)
#if defined(BBGE_BUILD_WINDOWS) && !defined(BBGE_BUILD_SDL)
int WINAPI WinMain( HINSTANCE hInstance, // Instance
HINSTANCE hPrevInstance, // Previous Instance
LPSTR lpCmdLine, // Command Line Parameters
@ -80,7 +80,7 @@ static void CheckConfig(void)
#else
int main(int argc,char *argv[])
extern "C" int main(int argc,char *argv[])
{
std::string dsqParam = ""; // fileSystem