Kaynağa Gözat

bring back import Darwin module

Marcin Krzyżanowski 10 yıl önce
ebeveyn
işleme
3a79a51291
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  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