8000 force through posix threading support · sdpython/pythonnet@97c8245 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 97c8245

Browse files
authored
force through posix threading support
still need to look at windows case
1 parent 5ef579a commit 97c8245

File tree

1 file changed

+2
-1
lines changed
< 8000 span class="TextInput-wrapper prc-components-TextInputWrapper-i1ofR prc-components-TextInputBaseWrapper-ueK9q" data-block="true" data-size="medium" data-leading-visual="true" aria-busy="false">

1 file changed

+2
-1
lines changed

tools/geninterop/geninterop.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ def preprocess_python_headers():
173173
"-D", "__attribute__(x)=",
174174
"-D", "__inline__=inline",
175175
"-D", "__asm__=;#pragma asm",
176-
"-D", "__int64=long long"
176+
"-D", "__int64=long long",
177+
"-D", "_POSIX_THREADS",
177178
]
178179

179180
if hasattr(sys, "abiflags"):

0 commit comments

Comments
 (0)
0