diff options
Diffstat (limited to 'pypy/translator/c/gc.py')
-rw-r--r-- | pypy/translator/c/gc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pypy/translator/c/gc.py b/pypy/translator/c/gc.py index 4aae017e05..9a44afdf6c 100644 --- a/pypy/translator/c/gc.py +++ b/pypy/translator/c/gc.py @@ -229,7 +229,7 @@ class BoehmGcPolicy(BasicGcPolicy): if sys.platform.startswith('linux'): pre_include_bits += ["#define _REENTRANT 1", "#define GC_LINUX_THREADS 1"] - if sys.platform != "win32": + if sys.platform != "win32" and not sys.platform.startswith("openbsd"): # GC_REDIRECT_TO_LOCAL is not supported on Win32 by gc6.8 pre_include_bits += ["#define GC_REDIRECT_TO_LOCAL 1"] |