Skip to content

Commit ea84a55

Browse files
committed
Add _BSD_SOURCE and _DEFAULT_SOURCE
To attempt to fix `_hacl` missing symbols
1 parent 24d2994 commit ea84a55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpython-unix/extension-modules.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ _blake2:
4141
links-conditional:
4242
- name: :libHacl_Hash_Blake2.a
4343
minimum-python-version: "3.14"
44+
defines-conditional:
45+
- define: _BSD_SOURCE
46+
minimum-python-version: "3.14"
47+
- define: _DEFAULT_SOURCE
48+
minimum-python-version: "3.14"
4449

4550
_bz2:
4651
sources:

0 commit comments

Comments
 (0)