Skip to content
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

Fix build issues #213

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions example/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ print(cysignals.__file__.replace('__init__.py', ''))
).stdout().strip()
cysignals = declare_dependency(include_directories: inc_cysignals)

# Make declarations in Cython code available to C include files
add_project_arguments(
'-X preliminary_late_includes_cy28=True',
language: 'cython',
)


py.extension_module('cysignals_example',
sources: ['cysignals_example.pyx'],
install: true,
Expand Down
5 changes: 0 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ add_project_arguments('-DCYTHON_CLINE_IN_TRACEBACK=0', language: 'c')
# Disable sanity checking in GNU libc
# This is required because of false positives in the longjmp() check
add_project_arguments('-U_FORTIFY_SOURCE', language: 'c')
# Make declarations in Cython code available to C include files
add_project_arguments(
'-X preliminary_late_includes_cy28=True',
language: 'cython',
)

# Platform-specific settings
if is_cygwin
Expand Down
1 change: 1 addition & 0 deletions src/cysignals/signals.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: preliminary_late_includes_cy28=True
#*****************************************************************************
# cysignals is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
Expand Down
1 change: 1 addition & 0 deletions src/cysignals/signals.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: preliminary_late_includes_cy28=True
r"""
Interrupt and signal handling

Expand Down
1 change: 1 addition & 0 deletions src/cysignals/tests.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: preliminary_late_includes_cy28=True
"""
Test interrupt and signal handling

Expand Down
Loading