]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtiff.cpp
gdk_window_get_colormap -> gdk_drawable_get_colormap
[wxWidgets.git] / src / common / imagtiff.cpp
index 8c7d45a6fbd16fb42bb0f16e2abc474d6c8bff2a..4c09339ca7683b09147b7b0d7ce00017f132fe62 100644 (file)
@@ -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
 
 //-----------------------------------------------------------------------------