]> git.saurik.com Git - wxWidgets.git/commitdiff
added error message in case older apple header files are used
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 29 Aug 2001 07:26:43 +0000 (07:26 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 29 Aug 2001 07:26:43 +0000 (07:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wx_cw_cm.h

index b9871724b9abaf20b66c7129223bac99ee912f91..a6c9255d8c2a0c5ac4eebce4421f8e4793c1a4ce 100644 (file)
@@ -16,6 +16,9 @@
     #if TARGET_CARBON
            #define     USE_PRECOMPILED_MAC_HEADERS     0  /*Set to 0 if you don't want to use precompiled MacHeaders*/
                #include "MacHeaders.c"
+               #if UNIVERSAL_INTERFACES_VERSION < 0x0340
+                   #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
+               #endif
        /*
            #define     USE_PRECOMPILED_MAC_HEADERS     0 
                        #ifdef __cplusplus