Index: compiled/base.h |
diff --git a/compiled/bindings/runtime.h b/compiled/base.h |
similarity index 67% |
copy from compiled/bindings/runtime.h |
copy to compiled/base.h |
index 549eeef479e5ace136c078f942008c21b98f1734..2bf8eab304e8c86860c87af6cfddcc857425c69b 100644 |
--- a/compiled/bindings/runtime.h |
+++ b/compiled/base.h |
@@ -12,14 +12,16 @@ |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
- * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
+ * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
#pragma once |
-#if defined(__EMSCRIPTEN__) |
-#include <emscripten.h> |
-#define BINDINGS_EXPORTED EMSCRIPTEN_KEEPALIVE |
-#else |
-#define BINDINGS_EXPORTED |
hub
2018/02/06 14:59:31
Where did these go?
sergei
2018/02/06 15:01:59
base.h is a new file but Rietveld thinks that it's
hub
2018/02/06 15:05:01
ok
|
+// if a user config is not specified then use the default location. |
+#if !defined(ABP_USER_CONFIG) |
+# define ABP_USER_CONFIG "user-config.h" |
+#endif |
+// it should be the first included file |
+#ifdef ABP_USER_CONFIG |
+#include ABP_USER_CONFIG |
#endif |