Don't use a console lock on Windows or OSX builds

Sync with Linux.
This commit is contained in:
dhewg 2011-12-30 02:03:04 +01:00 committed by Daniel Gibson
parent 5fa6e06748
commit f54253d966

View file

@ -42,15 +42,7 @@ If you have questions concerning this license or the applicable additional terms
// if enabled, the console won't toggle upon ~, unless you start the binary with +set com_allowConsole 1
// Ctrl+Alt+~ will always toggle the console no matter what
#ifndef ID_CONSOLE_LOCK
#if defined(_WIN32) || defined(MACOS_X)
#ifdef _DEBUG
#define ID_CONSOLE_LOCK 0
#else
#define ID_CONSOLE_LOCK 1
#endif
#else
#define ID_CONSOLE_LOCK 0
#endif
#endif
// useful for network debugging, turns off 'LAN' checks, all IPs are classified 'internet'