]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Add a detailed explanation of possible error reasons to wx/chkconf.h.
[wxWidgets.git] / configure
index aecc77a4104b4207216fa37f9c389dafe338a651..568bfc4aba75af6485b8bceef6db3eb415512dcd 100755 (executable)
--- a/configure
+++ b/configure
@@ -32813,11 +32813,15 @@ echo "${ECHO_T}none" >&6; }
         TOOLKIT=OSX_CARBON
                 GUIDIST=OSX_CARBON_DIST
                         WXBASEPORT="_carbon"
+
+                                        TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
     fi
 
     if test "$wxUSE_OSX_COCOA" = 1; then
         TOOLKIT=OSX_COCOA
         GUIDIST=OSX_COCOA_DIST
+
+                TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
     fi
 
     if test "$wxUSE_COCOA" = 1; then