Skip to content

Commit

Permalink
Merge pull request #213 from ludopulles/main
Browse files Browse the repository at this point in the history
Fix build issues
  • Loading branch information
dimpase authored Dec 17, 2024
2 parents 16b9d2b + 7c05d63 commit cdbf764
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
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

0 comments on commit cdbf764

Please sign in to comment.