]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
have CGImage Support in all OSX builds
[wxWidgets.git] / include / wx / wxchar.h
index a47178e611ac5b5fe9f0619e2ecf9050e8527247..54bab1f6ea630f87d8ef2d83769b09529c2bee46 100644 (file)
@@ -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 */