Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
without requiring setup.h modifications. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,7 +48,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
|
||||
|
@@ -168,7 +168,9 @@
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
|
||||
#define wxUSE_UNICODE 0
|
||||
#ifndef wxUSE_UNICODE
|
||||
#define wxUSE_UNICODE 0
|
||||
#endif
|
||||
|
||||
// Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWindows in Unicode mode
|
||||
// and be able to run compiled apps under Windows 9x as well as NT/2000/XP. This
|
||||
|
Reference in New Issue
Block a user