[libunwind] r267365 - unwind: remove unnecessary header

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 24 14:01:04 PDT 2016


Author: compnerd
Date: Sun Apr 24 16:01:04 2016
New Revision: 267365

URL: http://llvm.org/viewvc/llvm-project?rev=267365&view=rev
Log:
unwind: remove unnecessary header

Availablity.h is not used within config.h.  The locations which use the
availability infrastructure already include the necessary header(s).  NFC.

Modified:
    libunwind/trunk/src/config.h

Modified: libunwind/trunk/src/config.h
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/config.h?rev=267365&r1=267364&r2=267365&view=diff
==============================================================================
--- libunwind/trunk/src/config.h (original)
+++ libunwind/trunk/src/config.h Sun Apr 24 16:01:04 2016
@@ -30,8 +30,6 @@
 
 // Platform specific configuration defines.
 #ifdef __APPLE__
-  #include <Availability.h>
-
   #define _LIBUNWIND_BUILD_SJLJ_APIS      defined(__arm__)
 
   #if defined(FOR_DYLD)
@@ -44,7 +42,6 @@
     #define _LIBUNWIND_SUPPORT_DWARF_INDEX    0
   #endif
 #else
-
   #define _LIBUNWIND_BUILD_SJLJ_APIS      0
 
   #if defined(__ARM_DWARF_EH__) || !defined(__arm__)




More information about the cfe-commits mailing list