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

@ -28,7 +28,7 @@ void ConvertDFColorDescriptor(int16_t index, RemoteFortressReader::ColorDefiniti
#if(defined(WIN32) && !defined(_WIN64))
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