forked from OSchip/llvm-project
[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:
parent
5140e0d219
commit
448eabd754
|
@ -80,6 +80,8 @@ bool test() {
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__powerpc__) || defined(__powerpc64__)
|
# elif defined(__powerpc__) || defined(__powerpc64__)
|
||||||
half_size();
|
half_size();
|
||||||
|
# elif defined(_WIN32)
|
||||||
|
full_size();
|
||||||
# else
|
# else
|
||||||
# error "Your target system seems to be unsupported."
|
# error "Your target system seems to be unsupported."
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue