From a89c31bb34c62dde4391e7fb88846bbc1d147e9c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 29 Mar 2010 06:45:00 +0000 Subject: [PATCH] build fix for IRIX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxcrtbase.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wx/wxcrtbase.h b/include/wx/wxcrtbase.h index f683ab479d..dd6428c322 100644 --- a/include/wx/wxcrtbase.h +++ b/include/wx/wxcrtbase.h @@ -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 -- 2.45.2