diff --git a/Rubberduck.Parsing/Preprocessing/VBAPredefinedCompilationConstants.cs b/Rubberduck.Parsing/Preprocessing/VBAPredefinedCompilationConstants.cs index 5db6e283a0..f25a408e90 100644 --- a/Rubberduck.Parsing/Preprocessing/VBAPredefinedCompilationConstants.cs +++ b/Rubberduck.Parsing/Preprocessing/VBAPredefinedCompilationConstants.cs @@ -22,7 +22,7 @@ public bool VBA7 { get { - return _vbVersion < 8; + return _vbVersion >= 7; } } @@ -30,7 +30,7 @@ public bool VBA6 { get { - return _vbVersion < 7; + return _vbVersion >= 6; } } @@ -38,7 +38,7 @@ public bool Win64 { get { - return Environment.Is64BitOperatingSystem; + return IntPtr.Size >= 8; } }