Allow using wxEvtHandler::Bind() with IBM xlC compiler v7+.
xlC 7 seems to be able to deal with this code without problems under AIX 5.3 so white list it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1863484b08
commit
7ef791557a
@ -112,10 +112,12 @@
|
|||||||
Recent Sun CC versions support this but perhaps older ones can compile this
|
Recent Sun CC versions support this but perhaps older ones can compile this
|
||||||
code too, adjust the version check if this is the case (unfortunately we
|
code too, adjust the version check if this is the case (unfortunately we
|
||||||
can't easily test for the things used in wx/event.h in configure so we have
|
can't easily test for the things used in wx/event.h in configure so we have
|
||||||
to maintain these checks manually).
|
to maintain these checks manually). The same applies to xlC 7: perhaps
|
||||||
|
earlier versions can compile this code too but they were not tested.
|
||||||
*/
|
*/
|
||||||
#if wxCHECK_GCC_VERSION(3, 2) || wxCHECK_VISUALC_VERSION(7) \
|
#if wxCHECK_GCC_VERSION(3, 2) || wxCHECK_VISUALC_VERSION(7) \
|
||||||
|| (defined(__SUNCC__) && __SUNCC__ >= 0x5100)
|
|| (defined(__SUNCC__) && __SUNCC__ >= 0x5100) \
|
||||||
|
|| (defined(__xlC__) && __xlC__ >= 0x700)
|
||||||
#define wxHAS_EVENT_BIND
|
#define wxHAS_EVENT_BIND
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user