Skip to content

Commit 5ef579a

Browse files
authored
1 parent e60d93e commit 5ef579a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/geninterop/geninterop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def preprocess_python_headers():
185185
defines.extend(("-D", "PYTHON_WITH_WIDE_UNICODE"))
186186

187187
python_h = os.path.join(include_py, "Python.h")
188-
cmd = ["clang", "-I"] + include_dirs + defines + ["-E", python_h]
188+
cmd = ["clang", "-pthread", "-I"] + include_dirs + defines + ["-E", python_h]
189189

190190
# normalize as the parser doesn't like windows line endings.
191191
lines = []

0 commit comments

Comments
 (0)