[clang] [openmp] [Libomp] Place generated OpenMP headers into build resource directory (PR #88007)

Jan Patrick Lehr via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 12:24:32 PDT 2024


================
@@ -16,4 +16,12 @@ typedef unsigned __INTPTR_TYPE__ uintptr_t;
 #error Every target should have __INTPTR_TYPE__
 #endif
 
+#ifdef __INTPTR_MAX__
+#define  INTPTR_MAX    __INTPTR_MAX__
+#endif
+
+#ifdef __UINTPTR_MAX__
+#define UINTPTR_MAX   __UINTPTR_MAX__
+#endif
+
----------------
jplehr wrote:

Are these changes required to make this work?

https://github.com/llvm/llvm-project/pull/88007


More information about the cfe-commits mailing list