X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a9c5e3564ed35162bb8cab5af62a98405364fb8..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/build/bakefiles/scintilla.bkl

diff --git a/build/bakefiles/scintilla.bkl b/build/bakefiles/scintilla.bkl
index dd937c02b5..d59ac7a5d2 100644
--- a/build/bakefiles/scintilla.bkl
+++ b/build/bakefiles/scintilla.bkl
@@ -42,7 +42,7 @@
         <if cond="SHARED=='1' and MONOLITHIC=='0'">WXUSINGDLL</if>
     </set>
 
-    <lib id="wxscintilla" template="3rdparty_lib,wxscintilla_cppflags"
+    <lib id="wxscintilla" template="3rdparty_lib,wxscintilla_cppflags,msvc_setup_h"
          cond="USE_STC=='1' and BUILDING_LIB=='1'">
         <if cond="FORMAT!='autoconf'">
             <include>$(SETUPHDIR)</include>
@@ -51,6 +51,8 @@
         <define>$(wxscintilla_usingdll)</define>
         <define>__WX$(TOOLKIT)__</define>
         <define>$(WXUNIV_DEFINE)</define>
+        <define>$(DEBUG_DEFINE)</define>
+        <define>$(UNICODE_DEFINE)</define>
         <dirname>$(LIBDIRNAME)</dirname>
         <sources>
             src/stc/scintilla/src/AutoComplete.cxx