summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-04-05 08:24:28 -0700
committerGitHub <noreply@github.com>2018-04-05 08:24:28 -0700
commit86f418f0bd196ba84ab702410500271a4f8b0c33 (patch)
treee0d2fa14131785ad8ea63360ec70666c43e58db0 /src/debug
parentf2aa806de27cd75fc1273ebea7f1c41a670b1f40 (diff)
downloadcoreclr-86f418f0bd196ba84ab702410500271a4f8b0c33.tar.gz
coreclr-86f418f0bd196ba84ab702410500271a4f8b0c33.tar.bz2
coreclr-86f418f0bd196ba84ab702410500271a4f8b0c33.zip
Rename conflicting definitions VER_MAJOR/MINORVERSION macros (#17364)
* Rename conflicting definitions of VER_MAJOR/MINORVERSION These macros are defined by Windows SDK. They were overload to mean CLR version that was causing interesting redefinition issues. * Delete workaround for redefined Windows SDK macros * Delete ProjectN version * Delete dead code
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/di/process.cpp8
-rw-r--r--src/debug/ee/rcthread.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp
index 4356a8f7f4..b869a0184f 100644
--- a/src/debug/di/process.cpp
+++ b/src/debug/di/process.cpp
@@ -8889,10 +8889,10 @@ CordbProcess::GetVersion(COR_VERSION* pVersion)
//
// Because we require a matching version of mscordbi.dll to debug a certain version of the runtime,
// we can just use constants found in this particular mscordbi.dll to determine the version of the left side.
- pVersion->dwMajor = VER_MAJORVERSION;
- pVersion->dwMinor = VER_MINORVERSION;
- pVersion->dwBuild = VER_PRODUCTBUILD;
- pVersion->dwSubBuild = VER_PRODUCTBUILD_QFE;
+ pVersion->dwMajor = CLR_MAJOR_VERSION;
+ pVersion->dwMinor = CLR_MINOR_VERSION;
+ pVersion->dwBuild = CLR_BUILD_VERSION;
+ pVersion->dwSubBuild = CLR_BUILD_VERSION_QFE;
return S_OK;
}
diff --git a/src/debug/ee/rcthread.cpp b/src/debug/ee/rcthread.cpp
index f40fe16544..f74093b17f 100644
--- a/src/debug/ee/rcthread.cpp
+++ b/src/debug/ee/rcthread.cpp
@@ -286,8 +286,8 @@ HRESULT DebuggerIPCControlBlock::Init(
memset( this, 0, sizeof( DebuggerIPCControlBlock) );
// Setup version checking info.
- m_verMajor = VER_PRODUCTBUILD;
- m_verMinor = VER_PRODUCTBUILD_QFE;
+ m_verMajor = CLR_BUILD_VERSION;
+ m_verMinor = CLR_BUILD_VERSION_QFE;
#ifdef _DEBUG
m_checkedBuild = true;