File tree 3 files changed +15
-3
lines changed
Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport
Utilities/import-llvm.d/include/llvm/Config
3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version:5.5
1
+ // swift-tools-version:5.6
2
2
3
3
import Foundation
4
4
import PackageDescription
@@ -51,7 +51,9 @@ let package = Package(
51
51
52
52
. testTarget(
53
53
name: " IndexStoreDBTests " ,
54
- dependencies: [ " IndexStoreDB " , " ISDBTestSupport " ] ) ,
54
+ dependencies: [ " IndexStoreDB " , " ISDBTestSupport " ] ,
55
+ linkerSettings: [ . linkedLibrary( " execinfo " , . when( platforms: [ . custom( " freebsd " ) ] ) ) ]
56
+ ) ,
55
57
56
58
// MARK: Swift Test Infrastructure
57
59
Original file line number Diff line number Diff line change 144
144
#endif
145
145
146
146
/* Define to 1 if you have the `mallctl' function. */
147
- /* #undef HAVE_MALLCTL */
147
+ #if defined(__FreeBSD__)
148
+ #define HAVE_MALLCTL 1
149
+ #endif
148
150
149
151
/* Define to 1 if you have the `mallinfo' function. */
150
152
/* #undef HAVE_MALLINFO */
180
182
#define HAVE_PTHREAD_RWLOCK_INIT 1
181
183
182
184
/* Define to 1 if you have the `sbrk' function. */
185
+ #if defined(__FreeBSD__) && defined(__aarch64__)
186
+ #undef HAVE_SBRK
187
+ #else
183
188
#define HAVE_SBRK 1
189
+ #endif
184
190
185
191
/* Define to 1 if you have the `setenv' function. */
186
192
#define HAVE_SETENV 1
Original file line number Diff line number Diff line change 180
180
#define HAVE_PTHREAD_RWLOCK_INIT 1
181
181
182
182
/* Define to 1 if you have the `sbrk' function. */
183
+ #if defined(__FreeBSD__) && defined(__aarch64__)
184
+ #undef HAVE_SBRK
185
+ #else
183
186
#define HAVE_SBRK 1
187
+ #endif
184
188
185
189
/* Define to 1 if you have the `setenv' function. */
186
190
#define HAVE_SETENV 1
You can’t perform that action at this time.
0 commit comments