[libcxx] [test] Fix max_size.pass.cpp for other Windows architectures

All current Windows architectures (i386, x86_64, arm, arm64) get
the full_size() behaviour here. x86_64 (the only one tested in CI
currently) is handled by the first ifdef at the top, but handle
Windows in general on all other architectures later.

Differential Revision: https://reviews.llvm.org/D124989
This commit is contained in:
Martin Storsjö 2022-05-04 14:39:21 +03:00
parent 5140e0d219
commit 448eabd754
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ bool test() {
# endif
# elif defined(__powerpc__) || defined(__powerpc64__)
half_size();
# elif defined(_WIN32)
full_size();
# else
# error "Your target system seems to be unsupported."
# endif