File: ptr-fix.patch

package info (click to toggle)
ucx 1.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,744 kB
  • sloc: ansic: 134,028; cpp: 64,236; java: 2,778; sh: 2,718; makefile: 1,758; python: 469; asm: 297; xml: 233; lisp: 19
file content (12 lines) | stat: -rw-r--r-- 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/ucs/debug/debug.c
+++ b/src/ucs/debug/debug.c
@@ -27,6 +27,9 @@
 #  include <bfd.h>
 #endif /* HAVE_DETAILED_BACKTRACE */
 
+#ifndef PTR
+#define PTR void *
+#endif
 
 KHASH_MAP_INIT_INT64(ucs_debug_symbol, char*);
 KHASH_MAP_INIT_INT(ucs_signal_orig_action, struct sigaction*);