]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for VC++
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Jan 2002 22:40:36 +0000 (22:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Jan 2002 22:40:36 +0000 (22:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/imagjpeg.cpp

index d16360ce1732f58a22ad0fea6da623c71a3624c1..c8db0ce961e5de0b47e144aac8027fad9f41f511 100644 (file)
@@ -61,7 +61,7 @@ extern "C"
 // we can't use METHODDEF here as it includes static yet the functions must be
 // extern "C" and these can't be used together!
 #undef METHODDEF
-#define METHODDEF(type) extern "C" wxC_CALLING_CONV type
+#define METHODDEF(type) extern "C" type wxC_CALLING_CONV
 
 //-----------------------------------------------------------------------------
 // wxJPEGHandler