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:
parent
827e8f2a4b
commit
5c6ed37b99
4 changed files with 9 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue