summaryrefslogtreecommitdiff
path: root/sys-libs/csu/files/csu-85-arm-availability.patch
blob: 6d3f3cf42b061062bc2bc239d9e6557e38ad9981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Guard inclusion of Availability.h so that it only happens on arm where it's
actuallty used so it doesn't cause failures on old OS X where Availability.h
doesn't exist yet.

Michael Weiser <michael@weiser.dinsnail.net>

--- Csu-85/start.s.orig	2013-10-09 01:11:47.000000000 +0200
+++ Csu-85/start.s	2015-02-11 20:34:04.000000000 +0100
@@ -22,7 +22,9 @@
  * @APPLE_LICENSE_HEADER_END@
  */
 
+#ifdef __arm__
 #include <Availability.h>
+#endif
 
 #if __ppc__ && __DYNAMIC__
 //