From d898f74a785491dc9aa537f918a030e02f0ddc70 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 21 Nov 2018 21:22:08 +0000 Subject: [PATCH] [libcxx] Remove unused definition of aligned allocation macro on old OS X We don't support mac OS 10.6 and older anymore, so this macro can never be defined. This bit of code had been added in D28931 as a fix for PR31448, but it doesn't seem necessary anymore. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@347427 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__config | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/__config b/include/__config index 037c74859..d9259bae0 100644 --- a/include/__config +++ b/include/__config @@ -986,11 +986,6 @@ template struct __static_assert_check {}; defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) # define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ # endif -# if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) -# if __MAC_OS_X_VERSION_MIN_REQUIRED < 1060 -# define _LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION -# endif -# endif #endif // defined(__APPLE__) #if !defined(_LIBCPP_HAS_NO_ALIGNED_ALLOCATION) && \