]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common.bkl
prelimanary wxMediaCtrl cocoa support
[wxWidgets.git] / build / bakefiles / common.bkl
index b73377af0397c4930e7fe430dbf9703bc9014995..b83a738fb4b06928de38c0e6becfac0147b7d3de 100644 (file)
         <if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if>
     </set>
 
+    <!-- fill for the specific case of the format/compiler -->
+    <set var="WIN32_WINNT">
+        <if cond="FORMAT=='dmars' or FORMAT=='dmars_smake'">_WIN32_WINNT=0x0400</if>
+    </set>
+
     <set var="UNICOWS_LIB">
         <if cond="MSLU=='1'">unicows</if>
     </set>
             <cppflags>$(EXTRACFLAGS)</cppflags>
         </if>
         <define>$(NO_VC_CRTDBG)</define>
+        <define>$(WIN32_WINNT)</define>
     </template>
 
     <template id="anylib">
@@ -477,7 +483,13 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
                     $(WXTOPDIR)src/msw/dummy.cpp
                 </precomp-headers-gen>
             </if>
-            <precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
+            
+            <!-- FIXME: temporary fix for bkl-0.1.5 bug, remove <if> when
+                        bkl-0.1.6 is released -->
+            <if cond="FORMAT in ['dmars','dmars_smake']">
+                <precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
+            </if>
+            
             <precomp-headers-header>wx/wxprec.h</precomp-headers-header>
             <precomp-headers>on</precomp-headers>
             <precomp-headers-file>wxprec_$(id)</precomp-headers-file>