Fixed build for new jit. Can't seem to kill off one of Microsoft's retarded NONSTDC warning, oh well.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402461
This commit is contained in:
David Anderson 2008-08-15 05:41:20 +00:00
parent 0aad4353cf
commit 1cf87d4ad9
2 changed files with 15 additions and 3 deletions

View File

@ -40,7 +40,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn"
AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn;..\..\..\knight\shared;..\x86;.."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JITX86_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@ -121,7 +121,7 @@
<Tool
Name="VCCLCompilerTool"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn;&quot;$(SOURCEMM16)\sourcehook&quot;"
AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn;&quot;$(SOURCEMM16)\sourcehook&quot;;..\..\..\knight\shared;..\x86;.."
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;JITX86_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
RuntimeLibrary="0"
EnableEnhancedInstructionSet="0"
@ -197,10 +197,18 @@
RelativePath="..\engine2.cpp"
>
</File>
<File
RelativePath="..\jit_function.cpp"
>
</File>
<File
RelativePath="..\x86\jit_x86.cpp"
>
</File>
<File
RelativePath="..\..\..\knight\shared\KeCodeAllocator.cpp"
>
</File>
<File
RelativePath="..\x86\opcode_helpers.cpp"
>
@ -243,6 +251,10 @@
RelativePath="..\engine2.h"
>
</File>
<File
RelativePath="..\jit_function.h"
>
</File>
<File
RelativePath="..\jit_shared.h"
>

View File

@ -29,10 +29,10 @@
* Version: $Id$
*/
#include "sp_vm_types.h"
#include <malloc.h>
#include <string.h>
#include <assert.h>
#include "sp_vm_types.h"
#include <KeCodeAllocator.h>
#include "sp_file_headers.h"
#include "sp_vm_engine.h"