Fixes for Cygwin compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -66,7 +66,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Microsoft compiler loves underscores, feed them to it
|
// Microsoft compiler loves underscores, feed them to it
|
||||||
#if defined( __VISUALC__ ) || wxCHECK_W32API_VERSION( 0, 5 ) \
|
#if defined( __VISUALC__ ) \
|
||||||
|
|| ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \
|
||||||
|| ( defined(__MWERKS__) && defined(__WXMSW__) )
|
|| ( defined(__MWERKS__) && defined(__WXMSW__) )
|
||||||
// functions
|
// functions
|
||||||
#define wxClose _close
|
#define wxClose _close
|
||||||
|
@@ -63,7 +63,7 @@
|
|||||||
#define wxHAVE_TCHAR_FUNCTIONS
|
#define wxHAVE_TCHAR_FUNCTIONS
|
||||||
#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x520)
|
#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x520)
|
||||||
#define wxHAVE_TCHAR_FUNCTIONS
|
#define wxHAVE_TCHAR_FUNCTIONS
|
||||||
#elif defined(__GNUWIN32__) && wxCHECK_W32API_VERSION( 1, 0 )
|
#elif defined(__MINGW32__) && wxCHECK_W32API_VERSION( 1, 0 )
|
||||||
#define wxHAVE_TCHAR_FUNCTIONS
|
#define wxHAVE_TCHAR_FUNCTIONS
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Reference in New Issue
Block a user