Skip to content

Commit

Permalink
ctypesgen nit: align order of defines
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Sep 29, 2023
1 parent 60ff803 commit 89aaf06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setupsrc/pypdfium2_setup/packaging_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 89aaf06

Please sign in to comment.