Files
bitcoin/src
Hennadii Stepanov 658e68f95b scripted-diff: Rename WAIT_TIMEOUT to TEST_WAIT_TIMEOUT
On Windows, the `winerror.h` header defines `WAIT_TIMEOUT` as a macro.

This introduces a fragile dependency on header inclusion order: if
Windows headers happen to be included before using `WAIT_TIMEOUT`, the
preprocessor expands it into a numeric literal, causing syntax errors.

Rename the variable to `TEST_WAIT_TIMEOUT` to remove this fragility and
avoid the collision entirely.

-BEGIN VERIFY SCRIPT-
sed -i 's/\<WAIT_TIMEOUT\>/TEST_WAIT_TIMEOUT/g' $(git grep -l 'WAIT_TIMEOUT' ./src/)
-END VERIFY SCRIPT-
2026-03-19 16:22:45 +00:00
..
2026-02-17 21:40:46 +05:30
2026-02-25 14:36:19 -08:00
2026-03-04 15:06:34 +01:00