modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues) moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -266,7 +266,7 @@ typedef _TUCHAR wxUChar;
|
||||
# if defined(__VISUALC__) && (__VISUALC__ < 900)
|
||||
# define wxUSE_WCHAR_T 0 // wchar_t is not available for MSVC++ 1.5
|
||||
# elif defined(__UNIX__)
|
||||
# if defined(HAVE_WCSTR_H) || defined(HAVE_WCHAR_H) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__UNIX__))
|
||||
# if defined(HAVE_WCSTR_H) || defined(HAVE_WCHAR_H) || defined(__FreeBSD__) || (defined(__DARWIN__))
|
||||
# define wxUSE_WCHAR_T 1
|
||||
# else
|
||||
# define wxUSE_WCHAR_T 0
|
||||
@@ -289,7 +289,7 @@ typedef _TUCHAR wxUChar;
|
||||
# ifdef HAVE_WCSTR_H
|
||||
# include <wcstr.h>
|
||||
# else
|
||||
# if defined(__FreeBSD__) || (defined(__APPLE__) && defined(__UNIX__))
|
||||
# if defined(__FreeBSD__) || defined(__DARWIN__)
|
||||
# include <stdlib.h>
|
||||
# define wxNEED_WCSLEN
|
||||
# else
|
||||
@@ -379,7 +379,7 @@ typedef unsigned __WCHAR_TYPE__ wxUChar;
|
||||
# define wxUChar unsigned char
|
||||
# endif
|
||||
|
||||
# if defined(__FreeBSD__) || (defined(__APPLE__) && defined(__UNIX__))
|
||||
# if defined(__FreeBSD__) || defined(__DARWIN__)
|
||||
# undef _T
|
||||
# endif
|
||||
|
||||
|
Reference in New Issue
Block a user