File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,12 @@ AC_ARG_WITH([swift-toolchain],
147
147
case $target_os in
148
148
linux*)
149
149
os_string="linux"
150
+ case $target_cpu in
151
+ armv7l*)
152
+ target_cpu="armv7"
153
+ ;;
154
+ *)
155
+ esac
150
156
;;
151
157
*)
152
158
os_string=$target_os
Original file line number Diff line number Diff line change 49
49
50
50
#if defined(__linux__ ) && defined(__has_feature )
51
51
#if __has_feature (modules )
52
+ #if !defined(__arm__ )
52
53
#include <stdio.h> // for off_t (to match Glibc.modulemap)
53
54
#endif
54
55
#endif
56
+ #endif
55
57
56
58
#define DISPATCH_API_VERSION 20160712
57
59
Original file line number Diff line number Diff line change 24
24
#define DISPATCH_IO_DEBUG DISPATCH_DEBUG
25
25
#endif
26
26
27
+ #ifndef PAGE_SIZE
28
+ #define PAGE_SIZE getpagesize()
29
+ #endif
30
+
27
31
#if DISPATCH_DATA_IS_BRIDGED_TO_NSDATA
28
32
#define _dispatch_io_data_retain (x ) _dispatch_objc_retain(x)
29
33
#define _dispatch_io_data_release (x ) _dispatch_objc_release(x)
You can’t perform that action at this time.
0 commit comments