Fix more build issues

This commit is contained in:
Dr!fter 2014-08-19 13:30:12 -04:00
parent ca5114ce93
commit 4cbb49b141
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ Vector CallVFunction<Vector>(DHooksCallback *dg, HookParamsStruct *paramStruct,
return ret;
}
#ifdef __linux__
#ifndef WIN32
template <>
string_t CallVFunction<string_t>(DHooksCallback *dg, HookParamsStruct *paramStruct, void *iface)
{

View File

@ -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