X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c085e333984dc079a001cd3f581aeb1f51a1f227..17069255b31ecb89f03bce14f568bca030d16607:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index 219301b80f..32c9b1f0e8 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -57,7 +57,8 @@ class WXDLLEXPORT wxLogFrame; class WXDLLEXPORT wxFrame; #if wxUSE_IOSTREAMH -# include +// N.B. BC++ doesn't have istream.h, ostream.h +# include #else # include # ifdef _MSC_VER @@ -378,9 +379,9 @@ WXDLLEXPORT_DATA(extern bool) g_bVerbose; // ---------------------------------------------------------------------------- // return the last system error code -unsigned long WXDLLEXPORT wxSysErrorCode(); +WXDLLEXPORT unsigned long wxSysErrorCode(); // return the error message for given (or last if 0) error code -const char* WXDLLEXPORT wxSysErrorMsg(unsigned long nErrCode = 0); +WXDLLEXPORT const char* wxSysErrorMsg(unsigned long nErrCode = 0); // ---------------------------------------------------------------------------- // debug only logging functions: use them with API name and error code