Commit 2a5fd670 authored by simonpj's avatar simonpj
Browse files

[project @ 2002-10-29 10:50:53 by simonpj]

Make imports work for pre-504
parent 2d88b5b2
{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.29 2002/10/27 10:38:32 mthomas Exp $
-- $Id: Main.hs,v 1.30 2002/10/29 10:50:53 simonpj Exp $
--
-- Package management tool
-----------------------------------------------------------------------------
......@@ -34,8 +34,13 @@ import ParsePkgConfLite
#include "../../includes/config.h"
#ifdef mingw32_HOST_OS
import Foreign.C.String
import Foreign
#if __GLASGOW_HASKELL__ >= 504
import Foreign.C.String
#else
import CString
#endif
#endif
main = do
......
{-# OPTIONS -fglasgow-exts #-}
------------------------------------------------------------------------
-- $Id: Main.hs,v 1.42 2002/10/28 10:11:17 simonpj Exp $
-- $Id: Main.hs,v 1.43 2002/10/29 10:50:54 simonpj Exp $
--
-- Program for converting .hsc files to .hs files, by converting the
-- file into a C program which is run to generate the Haskell source.
......@@ -27,11 +27,17 @@ import List (intersperse)
#include "../../includes/config.h"
#ifdef mingw32_HOST_OS
import Foreign.C.String
import Foreign
#if __GLASGOW_HASKELL__ >= 504
import Foreign.C.String
#else
import CString
#endif
#endif
version :: String
version = "hsc2hs-0.65"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment