Browse Source

Import Darwin.libc caused problems. #134

Marcin Krzyżanowski 10 years ago
parent
commit
10b70e45fd

+ 1 - 1
CryptoSwift/Cipher.swift

@@ -6,7 +6,7 @@
 //  Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
 //
 
-import Darwin.libc
+import Darwin
 
 public enum Cipher {
     

+ 1 - 1
CryptoSwift/IntExtension.swift

@@ -14,7 +14,7 @@
 //  - Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
 //  - This notice may not be removed or altered from any source or binary distribution.
 
-import Darwin.libc
+import Darwin
 
 /* array of bits */
 extension Int {

+ 1 - 1
CryptoSwift/UInt16Extension.swift

@@ -6,7 +6,7 @@
 //  Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
 //
 
-import Darwin.libc
+import Darwin
 
 /** Shift bits */
 extension UInt16 {

+ 1 - 1
CryptoSwift/UInt32Extension.swift

@@ -6,7 +6,7 @@
 //  Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
 //
 
-import Darwin.libc
+import Darwin
 
 protocol _UInt32Type { }
 extension UInt32: _UInt32Type {}

+ 1 - 1
CryptoSwift/UInt8Extension.swift

@@ -6,7 +6,7 @@
 //  Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
 //
 
-import Darwin.libc
+import Darwin
 
 public protocol _UInt8Type {
     /// [Hack](https://twitter.com/jckarter/status/648235521127256064) for array `value`