Fixed build for new jit. Can't seem to kill off one of Microsoft's retarded NONSTDC warning, oh well.
authorDavid Anderson <dvander@alliedmods.net>
Fri Aug 15 05:41:20 2008 +0000 (2008-08-15)
changeset 222883a7d6b44e3c
parent 2227 adc25d75d0fa
child 2229 698a4b4f1061
Fixed build for new jit. Can't seem to kill off one of Microsoft's retarded NONSTDC warning, oh well.
sourcepawn/jit/msvc8/jit-x86.vcproj
sourcepawn/jit/sp_vm_engine.cpp
     1.1 --- a/sourcepawn/jit/msvc8/jit-x86.vcproj	Fri Aug 15 05:33:57 2008 +0000
     1.2 +++ b/sourcepawn/jit/msvc8/jit-x86.vcproj	Fri Aug 15 05:41:20 2008 +0000
     1.3 @@ -40,7 +40,7 @@
     1.4  			<Tool
     1.5  				Name="VCCLCompilerTool"
     1.6  				Optimization="0"
     1.7 -				AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn"
     1.8 +				AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn;..\..\..\knight\shared;..\x86;.."
     1.9  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JITX86_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
    1.10  				MinimalRebuild="true"
    1.11  				BasicRuntimeChecks="3"
    1.12 @@ -121,7 +121,7 @@
    1.13  			<Tool
    1.14  				Name="VCCLCompilerTool"
    1.15  				FavorSizeOrSpeed="1"
    1.16 -				AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn;&quot;$(SOURCEMM16)\sourcehook&quot;"
    1.17 +				AdditionalIncludeDirectories="..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn;&quot;$(SOURCEMM16)\sourcehook&quot;;..\..\..\knight\shared;..\x86;.."
    1.18  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;JITX86_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
    1.19  				RuntimeLibrary="0"
    1.20  				EnableEnhancedInstructionSet="0"
    1.21 @@ -198,10 +198,18 @@
    1.22  				>
    1.23  			</File>
    1.24  			<File
    1.25 +				RelativePath="..\jit_function.cpp"
    1.26 +				>
    1.27 +			</File>
    1.28 +			<File
    1.29  				RelativePath="..\x86\jit_x86.cpp"
    1.30  				>
    1.31  			</File>
    1.32  			<File
    1.33 +				RelativePath="..\..\..\knight\shared\KeCodeAllocator.cpp"
    1.34 +				>
    1.35 +			</File>
    1.36 +			<File
    1.37  				RelativePath="..\x86\opcode_helpers.cpp"
    1.38  				>
    1.39  			</File>
    1.40 @@ -244,6 +252,10 @@
    1.41  				>
    1.42  			</File>
    1.43  			<File
    1.44 +				RelativePath="..\jit_function.h"
    1.45 +				>
    1.46 +			</File>
    1.47 +			<File
    1.48  				RelativePath="..\jit_shared.h"
    1.49  				>
    1.50  			</File>
     2.1 --- a/sourcepawn/jit/sp_vm_engine.cpp	Fri Aug 15 05:33:57 2008 +0000
     2.2 +++ b/sourcepawn/jit/sp_vm_engine.cpp	Fri Aug 15 05:41:20 2008 +0000
     2.3 @@ -29,10 +29,10 @@
     2.4   * Version: $Id$
     2.5   */
     2.6  
     2.7 -#include "sp_vm_types.h"
     2.8  #include <malloc.h>
     2.9  #include <string.h>
    2.10  #include <assert.h>
    2.11 +#include "sp_vm_types.h"
    2.12  #include <KeCodeAllocator.h>
    2.13  #include "sp_file_headers.h"
    2.14  #include "sp_vm_engine.h"