FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

passing pthread support to clang · sdpython/pythonnet@5ef579a · GitHub

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

Repository navigation

Commit 5ef579a

Browse files
authored
1 parent e60d93e commit 5ef579a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL