mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-04 02:49:10 +02:00
Renames the `MIN` macro to `_TRACEPOINT_TEST_MIN`.
From #31418:
```
stderr:
/virtual/main.c:70:9: warning: 'MIN' macro redefined [-Wmacro-redefined]
70 | #define MIN(a,b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
| ^
include/linux/minmax.h:329:9: note: previous definition is here
329 | #define MIN(a,b) __cmp(min,a,b)
| ^
1 warning generated.
```
fixes: https://github.com/bitcoin/bitcoin/issues/31418
Github-Pull: bitcoin/bitcoin#31419
Rebased-From: 00c1dbd26d
6.8 KiB
Executable File
6.8 KiB
Executable File