[Openmp-commits] [openmp] [llvm] [openmp][wasm] Allow compiling OpenMP to WebAssembly (PR #71297)
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Tue Nov 28 13:32:56 PST 2023
================
@@ -47,8 +47,9 @@ static char *ProfileTraceFile = nullptr;
#include <process.h>
#endif
-#if KMP_OS_WINDOWS
-// windows does not need include files as it doesn't use shared memory
+#if !KMP_USE_SHM
----------------
jpeyton52 wrote:
This macro seems more suited for the defined-or-not type
```
#if ! defined(KMP_USE_SHM)
```
At least that is how it is used in the rest of kmp_runtime.cpp.
https://github.com/llvm/llvm-project/pull/71297
More information about the Openmp-commits
mailing list