summaryrefslogtreecommitdiffstats
path: root/config_host/config_lgpl.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config_host/config_lgpl.h.in')
-rw-r--r--config_host/config_lgpl.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config_host/config_lgpl.h.in b/config_host/config_lgpl.h.in
new file mode 100644
index 000000000..f157a5cb1
--- /dev/null
+++ b/config_host/config_lgpl.h.in
@@ -0,0 +1,14 @@
+/*
+ * Include this file to ensure that this code is not
+ * compiled into the MPL subset.
+ */
+#ifndef CONFIG_LGPL_H
+#define CONFIG_LGPL_H
+
+#include "config_mpl.h"
+
+#if MPL_HAVE_SUBSET
+# error "Attempting to compile LGPL code into MPL subset"
+#endif
+
+#endif