]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix for IRIX
authorPaul Cornett <paulcor@bullseye.com>
Mon, 29 Mar 2010 06:45:00 +0000 (06:45 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 29 Mar 2010 06:45:00 +0000 (06:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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