Commit a53f2ae
authored
fix: avoid max/min macros from colliding with calls to std::numeric_limits<uint32_t>::max (#942)
Windows headers (e.g. minwindef.h) define min and max macros which collied with std::numeric_limits<uint32_t>::max.
The C (and therefore C++) preprocessor automatically expands function like macros. i.e. macro identifiers immediately followed by "(", e.g. max().1 parent ba75edd commit a53f2ae
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments