From: David Elliott Date: Thu, 4 Sep 2003 13:11:39 +0000 (+0000) Subject: #if wxUSE_UNICODE instead of #if defined(wxUSE_UNICODE) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/78868257aa40d8ce16d8726ecf265763601d4ef9 #if wxUSE_UNICODE instead of #if defined(wxUSE_UNICODE) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 80c870d8b8..d26964413a 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -196,7 +196,7 @@ const off_t wxInvalidOffset = (off_t)-1; // implementation // ============================================================================ -#if defined(__WXMAC__) && !defined(__DARWIN__) && !defined(wxUSE_UNICODE) +#if defined(__WXMAC__) && !defined(__DARWIN__) && !wxUSE_UNICODE WXDLLEXPORT int wxStat( const wxChar *file_name, wxStructStat *buf ) { diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index d8772fce24..230a9338ac 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -1205,7 +1205,7 @@ WXDLLEXPORT long int wxStrtol(const wxChar *nptr, wxChar **endptr, int base) } #endif // wxNEED_WX_STRING_H -#if defined(__WXMAC__) && !defined(__DARWIN__) && !defined(wxUSE_UNICODE) +#if defined(__WXMAC__) && !defined(__DARWIN__) && !wxUSE_UNICODE WXDLLEXPORT FILE * wxFopen(const wxChar *path, const wxChar *mode) { return fopen( wxMacStringToCString(path), mode ); @@ -1305,7 +1305,7 @@ wxChar * WXDLLEXPORT wxGetenv(const wxChar *name) // printf( "home %s\n", val ); // convert it, -#ifdef wxUSE_UNICODE +#if wxUSE_UNICODE data = (wxObject *)new wxString(val, wxConvLocal); #else data = (wxObject *)new wxString(val);