mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-12 13:43:43 +01:00
b358bde020randomenv: consolidate WIN32 #ifdefs (fanquake)fff80cd248random: remove windows-only compat.h include in randomenv (fanquake) Pull request description: Similar to #26814. Having a windows-only include of compat.h is confusing, not-only because it's already included globally via util/time.h, but also because it's unclear why compat.h is included (neither of the required headers are included there). This change is related to removing the use of compat.h as a miscellaneous catch-all for unclear/platform specific includes. Somewhat prompted by IWYU-related discussion here: https://github.com/bitcoin/bitcoin/pull/26763/files#r1058861693. ACKs for top commit: hebasto: ACKb358bde020. TheCharlatan: ACKb358bde020Tree-SHA512: d46dffe36a17ad0f9374a55e0ecaf2d60d0b473c8fc9ad6f3005142014c08a7c10bae4948856531abb443f5e0bd6062958fe574197e282dad22ae50134d71e5f
15 KiB
15 KiB