Skip to content

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

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)