From 4cbb49b141d77ed3ca88c23d2c312b382dbb7419 Mon Sep 17 00:00:00 2001 From: Dr!fter Date: Tue, 19 Aug 2014 13:30:12 -0400 Subject: [PATCH] Fix more build issues --- vfunc_call.h | 2 +- vhook.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vfunc_call.h b/vfunc_call.h index 2edbdb7..f44510a 100644 --- a/vfunc_call.h +++ b/vfunc_call.h @@ -211,7 +211,7 @@ Vector CallVFunction(DHooksCallback *dg, HookParamsStruct *paramStruct, return ret; } -#ifdef __linux__ +#ifndef WIN32 template <> string_t CallVFunction(DHooksCallback *dg, HookParamsStruct *paramStruct, void *iface) { diff --git a/vhook.cpp b/vhook.cpp index 00c8638..e6dddae 100644 --- a/vhook.cpp +++ b/vhook.cpp @@ -696,7 +696,7 @@ Vector *Callback_vector(DHooksCallback *dg, void **argStack) return vec_result; } -#ifdef __linux__ +#ifndef WIN32 string_t *Callback_stringt(DHooksCallback *dg, void **argStack) { string_t *string_result = (string_t *)argStack[0]; // Save the result