Commit 61831b7
committed
Fix Windows build error: wrap std::max in parentheses to avoid macro conflict
- On Windows, max/min are often defined as macros by windows.h
- This causes compilation errors with std::max/std::min
- Solution: use (std::max) to prevent macro expansion
- Fixes CI build error: error C2589: '(': illegal token on right side of '::'
Fixes: error in coalesce_ranges function on line 53761 parent 3d74978 commit 61831b7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5373 | 5373 | | |
5374 | 5374 | | |
5375 | 5375 | | |
5376 | | - | |
| 5376 | + | |
5377 | 5377 | | |
5378 | 5378 | | |
5379 | 5379 | | |
| |||
0 commit comments