From a3aab41ea282d562de968d288fb3c6c0a7b8ba4a Mon Sep 17 00:00:00 2001 From: cdozdil Date: Mon, 3 Mar 2025 22:47:45 +0300 Subject: [PATCH] Fix DEBUG builds --- OptiScaler/OptiScaler.vcxproj | 3 +++ OptiScaler/resource.h | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/OptiScaler/OptiScaler.vcxproj b/OptiScaler/OptiScaler.vcxproj index cd661515..5085c304 100644 --- a/OptiScaler/OptiScaler.vcxproj +++ b/OptiScaler/OptiScaler.vcxproj @@ -211,6 +211,9 @@ + + _DEBUG ;_UNICODE;UNICODE;%(PreprocessorDefinitions) + diff --git a/OptiScaler/resource.h b/OptiScaler/resource.h index 9fe8e423..f41377c7 100644 --- a/OptiScaler/resource.h +++ b/OptiScaler/resource.h @@ -2,7 +2,12 @@ // Microsoft Visual C++ generated include file. // Used by OptiScaler.rc // +#ifdef _DEBUG +#define VER_BUILD_DATE "Debug Build" +#else #include "resource_build_date.h" +#endif // !_DEBUG + #define VS_VERSION_INFO 1