summaryrefslogtreecommitdiff
path: root/extensions/Library_npsoplugin.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-02-21 16:56:10 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-02-21 17:22:02 +0100
commite6d0daefbdb8367384d8e5c217f65118bd8dc565 (patch)
tree919989cf378cbf13adf092763346bb8f59d993bc /extensions/Library_npsoplugin.mk
parent46fd2a3bf2a53c64c040590afe450505fcb13c10 (diff)
build also with older npapi
They were apparently lame enough to make a source-incompatible change without changing API version or anything similar.
Diffstat (limited to 'extensions/Library_npsoplugin.mk')
-rw-r--r--extensions/Library_npsoplugin.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/Library_npsoplugin.mk b/extensions/Library_npsoplugin.mk
index 94d9d237bb06..3c6854692b23 100644
--- a/extensions/Library_npsoplugin.mk
+++ b/extensions/Library_npsoplugin.mk
@@ -48,6 +48,12 @@ $(eval $(call gb_Library_add_defs,npsoplugin,\
-DMOZ_X11 \
))
+ifeq ($(HAVE_NON_CONST_NPP_GETMIMEDESCRIPTION),TRUE)
+$(eval $(call gb_Library_add_defs,npsoplugin,\
+ -DHAVE_NON_CONST_NPP_GETMIMEDESCRIPTION=1 \
+))
+endif
+
ifeq ($(filter-out LINUX FREEBSD NETBSD OPENBSD DRAGONFLY,$(OS)),)
$(eval $(call gb_Library_add_defs,npsoplugin,\
-DNP_LINUX \