X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60b4fc9e8a911d8bfe8ac0d1b9ce658d3cb4e08f..be7c2a2033f57f92c23f0db8220cb53ad47eabde:/build/bakefiles/common.bkl

diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 99b0bd578b..b83a738fb4 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -261,6 +261,11 @@
         <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>
@@ -277,6 +282,7 @@
             <cppflags>$(EXTRACFLAGS)</cppflags>
         </if>
         <define>$(NO_VC_CRTDBG)</define>
+        <define>$(WIN32_WINNT)</define>
     </template>
 
     <template id="anylib">