From 50a94f972d26ee15fc22cce657d13023d1022905 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 26 Jan 2021 09:41:55 +0000 Subject: Fix debug macro situation (#5114) Use the standard NDEBUG. --- src/Resources/Cuberite.rc | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'src/Resources') diff --git a/src/Resources/Cuberite.rc b/src/Resources/Cuberite.rc index 38f0df1df..2f2b4fc93 100644 --- a/src/Resources/Cuberite.rc +++ b/src/Resources/Cuberite.rc @@ -16,21 +16,23 @@ BEGIN 2 "A lightweight, fast and extensible game server for Minecraft" END -#define VERSION 0,0,13,37 -#define VERSION_STRING "0.0.13.37" +#define VERSION 1,3,3,7 +#define VERSION_STRING "1.3.3.7" #define INTERNAL_NAME "MCServer" #define ORIGINAL_FILENAME "Cuberite.exe" +#ifdef NDEBUG +#define FILE_FLAGS 0 +#else +#define FILE_FLAGS VS_FF_DEBUG +#endif + LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK VS_VERSION_INFO VERSIONINFO FILEVERSION VERSION PRODUCTVERSION VERSION FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif + FILEFLAGS FILE_FLAGS FILEOS 0x40004L FILETYPE VFT_APP FILESUBTYPE 0 @@ -59,11 +61,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION VERSION PRODUCTVERSION VERSION FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif + FILEFLAGS FILE_FLAGS FILEOS 0x40004L FILETYPE VFT_APP FILESUBTYPE 0 -- cgit v1.2.3