Skip to content

Commit f9bdaa8

Browse files
OmniBladexezon
authored andcommitted
[GEN][ZH] Change _RELEASE macro to RTS_RELEASE (#780)
1 parent 8686b98 commit f9bdaa8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GeneralsMD/Code/Tools/WorldBuilder/src/WorldBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ CWorldBuilderApp::~CWorldBuilderApp()
272272

273273
BOOL CWorldBuilderApp::InitInstance()
274274
{
275-
//#ifdef _RELEASE
275+
//#ifdef RTS_RELEASE
276276
EulaDialog eulaDialog;
277277
if( eulaDialog.DoModal() == IDCANCEL )
278278
{

cmake/config-build.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ endif()
6363
if(RTS_BUILD_OPTION_DEBUG)
6464
target_compile_definitions(core_config INTERFACE RTS_DEBUG WWDEBUG DEBUG)
6565
else()
66-
target_compile_definitions(core_config INTERFACE _RELEASE)
66+
target_compile_definitions(core_config INTERFACE RTS_RELEASE)
6767

6868
if(RTS_BUILD_OPTION_INTERNAL)
6969
target_compile_definitions(core_config INTERFACE RTS_INTERNAL)

0 commit comments

Comments
 (0)