]> git.saurik.com Git - wxWidgets.git/commit
Define __WXOSX__ and __WXMAC__ on compiler command line.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 Oct 2009 13:05:38 +0000 (13:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 Oct 2009 13:05:38 +0000 (13:05 +0000)
commit17005cd7233697a60debf3580a46669275c6b901
tree552cefc2d3203f1ea89f4af39c725f1d3e90e9f2
parentf3d793069fabb42b4219faa3bcd29216c121c086
Define __WXOSX__ and __WXMAC__ on compiler command line.

Although __WXMAC__ and __WXMAC__ were already defined in wx/platform.h if
__WXOSX_XXX__ was defined, they couldn't be used for checks done before
including this header, which was surprising and, in case of __WXMAC__,
backwards incompatible. Define them now on the compiler command line to ensure
that they are always defined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
configure
configure.in
include/wx/platform.h