Skip to content

Commit 147dbee

Browse files
committed
fixup! [GEN][ZH] Remove or repurpose RTS_INTERNAL specific code (#1231)
1 parent d06ffe2 commit 147dbee

File tree

2 files changed

+2
-14
lines changed
  • GeneralsMD/Code/GameEngine/Include/Common
  • Generals/Code/GameEngine/Include/Common

2 files changed

+2
-14
lines changed

Generals/Code/GameEngine/Include/Common/Debug.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,7 @@ class AsciiString;
116116
DEBUG_FLAG_LOG_TO_FILE = 0x01,
117117
DEBUG_FLAG_LOG_TO_CONSOLE = 0x02,
118118
DEBUG_FLAG_PREPEND_TIME = 0x04,
119-
#ifdef RTS_PROFILE
120-
// by default, RTS_PROFILE builds log to file, but not to console, in the interest
121-
// of speed. want console output? just change this line:
122-
DEBUG_FLAGS_DEFAULT = (DEBUG_FLAG_LOG_TO_FILE)
123-
#else
124-
DEBUG_FLAGS_DEFAULT = (DEBUG_FLAG_LOG_TO_FILE | DEBUG_FLAG_LOG_TO_CONSOLE)
125-
#endif
119+
DEBUG_FLAGS_DEFAULT = (DEBUG_FLAG_LOG_TO_FILE | DEBUG_FLAG_LOG_TO_CONSOLE),
126120
};
127121

128122
DEBUG_EXTERN_C void DebugInit(int flags);

GeneralsMD/Code/GameEngine/Include/Common/Debug.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,7 @@ class AsciiString;
122122
DEBUG_FLAG_LOG_TO_FILE = 0x01,
123123
DEBUG_FLAG_LOG_TO_CONSOLE = 0x02,
124124
DEBUG_FLAG_PREPEND_TIME = 0x04,
125-
#ifdef RTS_PROFILE
126-
// by default, RTS_PROFILE builds log to file, but not to console, in the interest
127-
// of speed. want console output? just change this line:
128-
DEBUG_FLAGS_DEFAULT = (DEBUG_FLAG_LOG_TO_FILE)
129-
#else
130-
DEBUG_FLAGS_DEFAULT = (DEBUG_FLAG_LOG_TO_FILE | DEBUG_FLAG_LOG_TO_CONSOLE)
131-
#endif
125+
DEBUG_FLAGS_DEFAULT = (DEBUG_FLAG_LOG_TO_FILE | DEBUG_FLAG_LOG_TO_CONSOLE),
132126
};
133127

134128
DEBUG_EXTERN_C void DebugInit(int flags);

0 commit comments

Comments
 (0)