From eb0edf1813562e947607e7cc61f20190f97e7a21 Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Thu, 28 Jul 2016 16:59:36 -0700 Subject: [PATCH] Define a flag to let gecko code know it's being run under bindgen. This is the other side of the handshake in: https://bugzilla.mozilla.org/show_bug.cgi?id=1289617 --- ports/geckolib/gecko_bindings/tools/regen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/geckolib/gecko_bindings/tools/regen.py b/ports/geckolib/gecko_bindings/tools/regen.py index 29dc162a027..821a5e475a7 100755 --- a/ports/geckolib/gecko_bindings/tools/regen.py +++ b/ports/geckolib/gecko_bindings/tools/regen.py @@ -25,7 +25,7 @@ COMPILATION_TARGETS = { "-allow-unknown-types", "-no-bitfield-methods", "-no-type-renaming", "-no-namespaced-constants", "-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1", - "-DMOZILLA_INTERNAL_API", + "-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", ], "search_dirs": [ "{}/dist/include",