Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
104c6fb8
Commit
104c6fb8
authored
Jan 06, 2005
by
malcolm
Browse files
[project @ 2005-01-06 14:55:02 by malcolm]
Remove dead branch of #elif.
parent
e85530a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/utils/hsc2hs/Main.hs
View file @
104c6fb8
{-# OPTIONS -fffi -cpp #-}
------------------------------------------------------------------------
-- $Id: Main.hs,v 1.6
5
2005/01/06 14:5
4:15
malcolm Exp $
-- $Id: Main.hs,v 1.6
6
2005/01/06 14:5
5:02
malcolm 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.
...
...
@@ -38,8 +38,6 @@ import CString
import
Compat.RawSystem
(
rawSystem
)
#
elif
__HUGS__
||
__NHC__
>=
117
||
__GLASGOW_HASKELL__
>=
600
import
System.Cmd
(
rawSystem
)
#
elif
BUILD_NHC
&&
__GLASGOW_HASKELL__
>=
603
import
Compat.RawSystem
(
rawSystem
)
#
else
rawSystem
prog
args
=
system
(
prog
++
" "
++
unwords
args
)
#
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment