From f31772bd6eeb9b46ddf5abf0fd828c969db0e9eb Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Wed, 8 Apr 2015 20:40:30 +0100 Subject: [PATCH] swap endianess --- Crypto/Internal/Endian.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crypto/Internal/Endian.hs b/Crypto/Internal/Endian.hs index 1fef507..497135b 100644 --- a/Crypto/Internal/Endian.hs +++ b/Crypto/Internal/Endian.hs @@ -14,7 +14,7 @@ module Crypto.Internal.Endian import Crypto.Internal.Compat (byteSwap64) import Data.Word (Word64) -#ifndef ARCH_IS_LITTLE_ENDIAN +#ifdef ARCH_IS_LITTLE_ENDIAN fromLE64 :: Word64 -> Word64 fromLE64 = id