Skip to content

Commit 6c19948

Browse files
committed
Build HMAC module with -D_BSD_SOURCE -D_DEFAULT_SOURCE per upstream Modules/Setup
1 parent c389c5d commit 6c19948

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpython-unix/extension-modules.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ _hmac:
326326
- :libHacl_Hash_SHA2.a
327327
- :libHacl_Hash_SHA3.a
328328
- :libHacl_Hash_MD5.a
329+
defines:
330+
- _BSD_SOURCE
331+
- _DEFAULT_SOURCE
329332

330333
_imp:
331334
config-c-only: true

0 commit comments

Comments
 (0)