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