Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"

without requiring setup.h modifications (backport).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-02-04 14:22:50 +00:00
parent f31e566dca
commit 76f27d0177
3 changed files with 14 additions and 4 deletions

View File

@@ -52,7 +52,8 @@
// Mingw runtime 1.0-20010604 has some missing _tXXXX functions,
// so let's define them ourselves:
#if defined(__GNUWIN32__) && wxCHECK_W32API_VERSION( 1, 0 )
#if defined(__GNUWIN32__) && wxCHECK_W32API_VERSION( 1, 0 ) \
&& !wxCHECK_W32API_VERSION( 1, 1 )
#ifndef _tsetlocale
#if wxUSE_UNICODE
#define _tsetlocale _wsetlocale