rocm-arch

A collection of Arch Linux PKGBUILDS for the ROCm platform

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
diff --color -urN llvm-project-rocm-5.0.1-unpatched/openmp/libomptarget/hostrpc/src/hostrpc.h llvm-project-rocm-5.0.1/openmp/libomptarget/hostrpc/src/hostrpc.h
--- llvm-project-rocm-5.0.1-unpatched/openmp/libomptarget/hostrpc/src/hostrpc.h 2022-03-01 13:37:53.355306931 +0100
+++ llvm-project-rocm-5.0.1/openmp/libomptarget/hostrpc/src/hostrpc.h   2022-03-01 13:54:46.401334335 +0100
@@ -41,6 +41,14 @@
 #include <stdint.h>
 #include <stdio.h>

+#if defined(fprintf)
+    #undef fprintf
+#endif
+
+#if defined(printf)
+    #undef printf
+#endif
+
 //  These are the interfaces for the device stubs */
 EXTERN int fprintf(FILE *, const char *, ...);
 EXTERN char *fprintf_allocate(uint32_t bufsz);