]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxcrtbase.h
adding standard menu items for cocoa, adding translation macro to menulabels, fixes...
[wxWidgets.git] / include / wx / wxcrtbase.h
index f683ab479d637d9fa74387baa961439fb5b0f238..dd6428c32288feee3a9b49ff1c86779361cf87b8 100644 (file)
@@ -657,7 +657,10 @@ WXDLLIMPEXP_BASE wchar_t * wxCRT_GetenvW(const wchar_t *name);
         probably be simpler to just always use our own wxCRT_StrftimeW() below
         if it does ever become a problem).
      */
-    extern "C" size_t
+#ifdef __cplusplus
+    extern "C"
+#endif
+    size_t
     _xpg5_wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm * );
     #define wxCRT_StrftimeW _xpg5_wcsftime
 #else