From 89aaf06391fba6775e657d58f1846c0f97f9a7bc Mon Sep 17 00:00:00 2001 From: geisserml Date: Fri, 29 Sep 2023 21:46:07 +0200 Subject: [PATCH] ctypesgen nit: align order of defines --- setupsrc/pypdfium2_setup/packaging_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupsrc/pypdfium2_setup/packaging_base.py b/setupsrc/pypdfium2_setup/packaging_base.py index 09d16518e..4c1aa7d59 100644 --- a/setupsrc/pypdfium2_setup/packaging_base.py +++ b/setupsrc/pypdfium2_setup/packaging_base.py @@ -308,7 +308,7 @@ def call_ctypesgen(target_dir, include_dir, pl_name, use_v8xfa=False, guard_symb if not guard_symbols: args += ["--no-symbol-guards"] if use_v8xfa: - args += ["-D", "PDF_ENABLE_XFA", "PDF_ENABLE_V8"] + args += ["-D", "PDF_ENABLE_V8", "PDF_ENABLE_XFA"] if pl_name.startswith(SystemNames.windows) and Host.system == SystemNames.windows: args += ["-D", "_WIN32"] args += ["--headers"] + [h.name for h in sorted(include_dir.glob("*.h"))] + ["-o", bindings]