X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/724a248d8d53c894b9e44e0980cac11407d0cdf9..30e77b5c9ff09da4e65445d3a03081d375f49845:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index a47178e611..54bab1f6ea 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -768,7 +768,11 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */ headers, so we need to declare it ourselves to be able to use it. */ #if defined(HAVE_VSNPRINTF) && !defined(HAVE_VSNPRINTF_DECL) +#ifdef __cplusplus extern "C" +#else + extern +#endif int vsnprintf(char *str, size_t size, const char *format, va_list ap); #endif /* !HAVE_VSNPRINTF_DECL */