[libcxx] [test] Remove an incorrect TEST_HAS_ALIGNED_ALLOC define from test_macros.h

This was added inconsistently in
19fd9039ca242f408493b5c662f9d908eab8555e; Windows doesn't have the
aligned_alloc function (neither MSVC nor MinGW toolchains) and we don't
define _LIBCPP_HAS_ALIGNED_ALLOC while building libcxx.

Differential Revision: https://reviews.llvm.org/D103399
This commit is contained in:
Martin Storsjö 2021-05-31 10:01:59 +00:00
parent c8644ae1e9
commit be34d5f74a
4 changed files with 0 additions and 7 deletions

View File

@ -8,8 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: LIBCXX-WINDOWS-FIXME
// Make sure TEST_HAS_ALIGNED_ALLOC (defined by the test suite) and
// _LIBCPP_HAS_ALIGNED_ALLOC (defined by libc++) stay in sync.

View File

@ -8,8 +8,6 @@
// test <stdlib.h>
// XFAIL: LIBCXX-WINDOWS-FIXME
#include <stdlib.h>
#include <type_traits>
#include <cassert>

View File

@ -8,8 +8,6 @@
// test <cstdlib>
// XFAIL: LIBCXX-WINDOWS-FIXME
#include <cstdlib>
#include <type_traits>
#include <cassert>

View File

@ -209,7 +209,6 @@
# elif defined(_WIN32)
# if defined(_MSC_VER) && !defined(__MINGW32__)
# define TEST_HAS_QUICK_EXIT
# define TEST_HAS_ALIGNED_ALLOC
# define TEST_HAS_TIMESPEC_GET
# endif
# elif defined(__APPLE__)