diff options
Diffstat (limited to 'mp/src/vpc_scripts/source_exe_win_win32_base.vpc')
| -rw-r--r-- | mp/src/vpc_scripts/source_exe_win_win32_base.vpc | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/mp/src/vpc_scripts/source_exe_win_win32_base.vpc b/mp/src/vpc_scripts/source_exe_win_win32_base.vpc index 9a79a68d..22b3896f 100644 --- a/mp/src/vpc_scripts/source_exe_win_win32_base.vpc +++ b/mp/src/vpc_scripts/source_exe_win_win32_base.vpc @@ -39,7 +39,7 @@ $Configuration $Compiler [$WIN32] { - $EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)" + $EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" } $Linker @@ -98,6 +98,22 @@ $Project } } } + + // Implement __imp__EncodePointer and __imp__DecodePointer so that we can run on XP SP1 + // when building with VS 2010. + $File "$SRCDIR\public\tier0\pointeroverride.asm" [$WIN32 && $VS2010] + { + $Configuration + { + $CustomBuildStep + { + // General + $CommandLine "$QUOTE$(VCInstallDir)bin\ml.exe$QUOTE /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE" + $Description "Compiling pointeroverride.asm" + $Outputs "$(IntDir)\$(InputName).obj" + } + } + } } $Folder "Link Libraries" |