diff --git a/sourcepawn/jit/x86/dll_exports.cpp b/sourcepawn/jit/x86/dll_exports.cpp index 1cbaa90a..5df6e0b2 100644 --- a/sourcepawn/jit/x86/dll_exports.cpp +++ b/sourcepawn/jit/x86/dll_exports.cpp @@ -5,9 +5,11 @@ SourcePawn::ISourcePawnEngine *engine = NULL; JITX86 jit; -EXPORTFUNC void GiveEnginePointer(SourcePawn::ISourcePawnEngine *engine_p) +EXPORTFUNC int GiveEnginePointer(SourcePawn::ISourcePawnEngine *engine_p) { engine = engine_p; + + return 0; } EXPORTFUNC unsigned int GetExportCount() diff --git a/sourcepawn/jit/x86/msvc8/jit-x86.vcproj b/sourcepawn/jit/x86/msvc8/jit-x86.vcproj index f7e0b79c..7298d68d 100644 --- a/sourcepawn/jit/x86/msvc8/jit-x86.vcproj +++ b/sourcepawn/jit/x86/msvc8/jit-x86.vcproj @@ -40,7 +40,7 @@