Skip to content

fix(extension_ctypes): Conditionally define FFI_BUILDING #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented May 23, 2025

Starting with python/cpython@38f331d4656 ("bpo-45898: Remove duplicate symbols from _ctypes/cfield.c (GH-29791)", 2022-02-24), FFI_BUILDING is removed. Note that while the use of FFI_BUILDING seems to be specific to windows, backward compatibility is maintained defining it for all platforms.


Working toward addressing:

Starting with python/cpython@38f331d4656 ("bpo-45898: Remove duplicate
symbols from _ctypes/cfield.c (GH-29791)", 2022-02-24), FFI_BUILDING is
removed. Note that while the use of FFI_BUILDING seems to be specific to
windows, backward compatibility is maintained defining it for all platforms.

Co-authored-by: Brett Jia <dev.bjia56@gmail.com>
@jcfr jcfr enabled auto-merge (rebase) May 23, 2025 23:00
@jcfr jcfr merged commit 6478bf3 into python-cmake-buildsystem:master May 23, 2025
24 checks passed
@jcfr jcfr deleted the extension-ctype-conditionally-define-FFI_BUILDING branch May 23, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant