mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Don't use a console lock on Windows or OSX builds
Sync with Linux.
This commit is contained in:
parent
5fa6e06748
commit
f54253d966
1 changed files with 1 additions and 9 deletions
|
@ -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
|
// 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
|
// Ctrl+Alt+~ will always toggle the console no matter what
|
||||||
#ifndef ID_CONSOLE_LOCK
|
#ifndef ID_CONSOLE_LOCK
|
||||||
#if defined(_WIN32) || defined(MACOS_X)
|
#define ID_CONSOLE_LOCK 0
|
||||||
#ifdef _DEBUG
|
|
||||||
#define ID_CONSOLE_LOCK 0
|
|
||||||
#else
|
|
||||||
#define ID_CONSOLE_LOCK 1
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#define ID_CONSOLE_LOCK 0
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// useful for network debugging, turns off 'LAN' checks, all IPs are classified 'internet'
|
// useful for network debugging, turns off 'LAN' checks, all IPs are classified 'internet'
|
||||||
|
|
Loading…
Reference in a new issue