You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
449 B
13 lines
449 B
diff --git a/llbuild/products/llbuildSwift/BuildSystemBindings.swift b/llbuild/products/llbuildSwift/BuildSystemBindings.swift
|
|
index 33b3e88..1236069 100644
|
|
--- a/llbuild/products/llbuildSwift/BuildSystemBindings.swift
|
|
+++ b/llbuild/products/llbuildSwift/BuildSystemBindings.swift
|
|
@@ -8,7 +8,7 @@
|
|
|
|
// This file contains Swift bindings for the llbuild C API.
|
|
|
|
-#if os(Linux)
|
|
+#if canImport(Glibc)
|
|
import Glibc
|
|
#elseif os(Windows)
|
|
import MSVCRT
|
|
|