summaryrefslogtreecommitdiff
path: root/sdext/Library_pdfimport.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/Library_pdfimport.mk')
-rw-r--r--sdext/Library_pdfimport.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/sdext/Library_pdfimport.mk b/sdext/Library_pdfimport.mk
index 854f00c49248..7c11d36e42ba 100644
--- a/sdext/Library_pdfimport.mk
+++ b/sdext/Library_pdfimport.mk
@@ -35,6 +35,12 @@ $(eval $(call gb_Library_use_externals,pdfimport,\
$(if $(filter-out WNT MACOSX,$(OS)),fontconfig) \
))
+ifeq ($(COM),MSC)
+$(eval $(call gb_Library_add_defs,pdfimport, \
+ -D_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING \
+))
+endif
+
$(eval $(call gb_Library_add_defs,pdfimport, \
-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
-DBOOST_ALL_NO_LIB \