================
@@ -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
+
----------------
jhuber6 wrote:

Alternatively we could just delete this `stdint.h` altogether, because this 
only happens because it's using this one instead. But I assume that we override 
the regular `stdint.h` to reduce the number of live definitions in tests or 
something.

https://github.com/llvm/llvm-project/pull/88007
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to