[commit: packages/binary] master: Clean up old CPP code. (ff7239c)

git at git.haskell.org git at git.haskell.org
Tue Feb 2 21:04:53 UTC 2016


Repository : ssh://git@git.haskell.org/binary

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/ff7239caa218d389869b3d09f8bcfd3feec6e9ab

>---------------------------------------------------------------

commit ff7239caa218d389869b3d09f8bcfd3feec6e9ab
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Sun Dec 20 23:08:11 2015 +0100

    Clean up old CPP code.


>---------------------------------------------------------------

ff7239caa218d389869b3d09f8bcfd3feec6e9ab
 src/Data/Binary/Builder/Base.hs | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/Data/Binary/Builder/Base.hs b/src/Data/Binary/Builder/Base.hs
index 5480dd0..ade8de7 100644
--- a/src/Data/Binary/Builder/Base.hs
+++ b/src/Data/Binary/Builder/Base.hs
@@ -74,15 +74,9 @@ import Foreign
 
 import System.IO.Unsafe as IO ( unsafePerformIO )
 
-#ifdef BYTESTRING_IN_BASE
-import Data.ByteString.Base (inlinePerformIO)
-import qualified Data.ByteString.Base as S
-import qualified Data.ByteString.Lazy.Base as L
-#else
 import Data.ByteString.Internal (inlinePerformIO)
 import qualified Data.ByteString.Internal as S
 import qualified Data.ByteString.Lazy.Internal as L
-#endif
 
 #if defined(__GLASGOW_HASKELL__) && !defined(__HADDOCK__)
 import GHC.Base (ord,Int(..),uncheckedShiftRL#)



More information about the ghc-commits mailing list