Skip to content

Commit 9d0ca25

Browse files
brad0tru
authored andcommitted
[OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527)
Fixing ```#error "Unknown or unsupported OS"``` (cherry picked from commit 223852a)
1 parent a8046f7 commit 9d0ca25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openmp/runtime/src/kmp_runtime.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8858,7 +8858,8 @@ __kmp_determine_reduction_method(
88588858

88598859
#elif KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH || KMP_ARCH_MIPS
88608860

8861-
#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD
8861+
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
8862+
KMP_OS_OPENBSD || KMP_OS_WINDOWS || KMP_OS_HURD
88628863

88638864
// basic tuning
88648865

0 commit comments

Comments
 (0)