Selaa lähdekoodia

bring back import Darwin module

Marcin Krzyżanowski 9 vuotta sitten
vanhempi
commit
3a79a51291
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      CryptoSwift/Cipher.swift

+ 6 - 0
CryptoSwift/Cipher.swift

@@ -6,6 +6,12 @@
 //  Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
 //
 
+#if os(Linux)
+    import Glibc
+#else
+    import Darwin
+#endif
+
 public enum CipherError: ErrorType {
     case Encrypt
     case Decrypt