From d78fee1b7f81957a13cf8710544a93146c3bfb5a Mon Sep 17 00:00:00 2001 From: kai Date: Sat, 14 Jul 2012 21:46:39 +0200 Subject: [PATCH] Add version identifier for Win64. --- driver/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/driver/main.cpp b/driver/main.cpp index a6782b66..7a654782 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -612,6 +612,9 @@ LDC_TARGETS VersionCondition::addPredefinedGlobalIdent("Win32"); VersionCondition::addPredefinedGlobalIdent("mingw32"); VersionCondition::addPredefinedGlobalIdent("MinGW"); + if (global.params.is64bit) { + VersionCondition::addPredefinedGlobalIdent("Win64"); + } } // FIXME: cygwin else if (triple.find("cygwin") != npos)