[libcxx] r347427 - [libcxx] Remove unused definition of aligned allocation macro on old OS X

Louis Dionne ldionne at apple.com
Wed Nov 21 13:22:09 PST 2018


Author: ldionne
Date: Wed Nov 21 13:22:08 2018
New Revision: 347427

URL: http://llvm.org/viewvc/llvm-project?rev=347427&view=rev
Log:
[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.

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=347427&r1=347426&r2=347427&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Wed Nov 21 13:22:08 2018
@@ -986,11 +986,6 @@ template <unsigned> struct __static_asse
       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) && \




More information about the libcxx-commits mailing list