fix compiling on gcc.

develop
Japa 2018-01-27 19:26:30 +05:30
parent 341c0dacf3
commit ca3b2b30b3
1 changed files with 2 additions and 2 deletions

@ -26,9 +26,9 @@ void CopyItem(RemoteFortressReader::Item * NetItem, df::item * DfItem);
void ConvertDFColorDescriptor(int16_t index, RemoteFortressReader::ColorDefinition * out);
#if(defined(WIN32) && !defined(_WIN64))
typedef df::art_image * (__thiscall *GET_IMAGE)(df::world*, df::art_image_ref *, int16_t *);
typedef df::art_image * (__thiscall *GET_IMAGE)(df::world *, df::art_image_ref *, int16_t *);
#else
typedef df::art_image *(__fastcall *GET_IMAGE)(df::world *, df::art_image_ref *, int16_t *);
typedef df::art_image * (*GET_IMAGE)(df::world *, df::art_image_ref *, int16_t *);
#endif