X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a5f121bf95d19dccffb379d9a4c736b8a2c2904..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/msw/gdiplus.cpp?ds=sidebyside diff --git a/src/msw/gdiplus.cpp b/src/msw/gdiplus.cpp index 8dc70566eb..44126964e7 100644 --- a/src/msw/gdiplus.cpp +++ b/src/msw/gdiplus.cpp @@ -740,8 +740,6 @@ wxFOR_ALL_GDIPLUS_STATUS_FUNCS(wxDECL_GDIPLUS_FUNC_TYPE) #undef wxDECL_GDIPLUS_FUNC_TYPE -} // extern "C" - // Special hack for w32api headers that reference this variable which is // normally defined in w32api-specific gdiplus.lib but as we don't link with it // and load gdiplus.dll dynamically, it's not defined in our case resulting in @@ -749,9 +747,11 @@ wxFOR_ALL_GDIPLUS_STATUS_FUNCS(wxDECL_GDIPLUS_FUNC_TYPE) // is and if Cygwin headers are modified to not use it in the future, it's not // a big deal neither, we'll just have an unused pointer. #if defined(__CYGWIN__) || defined(__MINGW32__) -extern "C" void *_GdipStringFormatCachedGenericTypographic = NULL; +void *_GdipStringFormatCachedGenericTypographic = NULL; #endif // __CYGWIN__ || __MINGW32__ +} // extern "C" + // ============================================================================ // wxGdiPlus helper class // ============================================================================