X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a10ea8b13fd0851e71e6fa5ebbe5b93933be11e..2e14a11616caeeab0946196324195976598a5306:/src/common/imagtiff.cpp diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index 8c7d45a6fb..4c09339ca7 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -34,7 +34,11 @@ extern "C" #include "wx/module.h" #ifndef TIFFLINKAGEMODE - #define TIFFLINKAGEMODE LINKAGEMODE + #if defined(__WATCOMC__) && defined(__WXMGL__) + #define TIFFLINKAGEMODE cdecl + #else + #define TIFFLINKAGEMODE LINKAGEMODE + #endif #endif //-----------------------------------------------------------------------------