Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,10 +30,16 @@
|
|||||||
/* Make sure the environment is set correctly */
|
/* Make sure the environment is set correctly */
|
||||||
# if defined(__WXMSW__) && defined(__X__)
|
# if defined(__WXMSW__) && defined(__X__)
|
||||||
# error "Target can't be both X and Windows"
|
# error "Target can't be both X and Windows"
|
||||||
# elif !defined(__WXMOTIF__) && !defined(__WXMSW__) && !defined(__WXGTK__) && \
|
# elif !defined(__WXMOTIF__) && \
|
||||||
!defined(__WXPM__) && !defined(__WXMAC__) && !defined(__WXCOCOA__) && \
|
!defined(__WXMSW__) && \
|
||||||
!defined(__X__) && !defined(__WXMGL__) && !defined(__WXX11__) && \
|
!defined(__WXGTK__) && \
|
||||||
wxUSE_GUI
|
!defined(__WXPM__) && \
|
||||||
|
!defined(__WXMAC__) && \
|
||||||
|
!defined(__WXCOCOA__) && \
|
||||||
|
!defined(__X__) && \
|
||||||
|
!defined(__WXMGL__) && \
|
||||||
|
!defined(__WXX11__) && \
|
||||||
|
wxUSE_GUI
|
||||||
# ifdef __UNIX__
|
# ifdef __UNIX__
|
||||||
# error "No Target! You should use wx-config program for compilation flags!"
|
# error "No Target! You should use wx-config program for compilation flags!"
|
||||||
# else /* !Unix */
|
# else /* !Unix */
|
||||||
|
Reference in New Issue
Block a user