@@ -6,7 +6,11 @@
// Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
//
-import Darwin
+#if os(Linux)
+ import Glibc
+#else
+ import Darwin.C
+#endif
public enum CipherError: ErrorType {
case Encrypt
@@ -14,7 +14,12 @@
// - 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.
+
/* array of bits */
extension Int {
@@ -6,7 +6,12 @@
protocol _UInt32Type { }
extension UInt32: _UInt32Type {}
public protocol _UInt8Type { }
extension UInt8: _UInt8Type {}