This clean-up removes checks for _WIN64, as the _WIN32 macro returns 1
whenever the compilation targe is 32- or 64-bit ARM, as well as x86 and x64
(see Windows pre-defined macro documentation
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros).
Details
Details
- Reviewers
aeubanks - Commits
- rG5d679fc502c7: [libc] Clean up Windows macros
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
not just ARM but also x86/x64 (which is what we're working with)
maybe a reference to https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros in the description would be good
libc/utils/UnitTest/PlatformDefs.h | ||
---|---|---|
12 | extra parentheses |
extra parentheses