Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
79609941
Commit
79609941
authored
May 12, 2000
by
sewardj
Browse files
[project @ 2000-05-12 13:34:06 by sewardj]
Minor wurbles to make it compile on Cygwin following DietHEPpery.
parent
d6297149
Changes
3
Hide whitespace changes
Inline
Side-by-side
ghc/interpreter/hugs.c
View file @
79609941
...
...
@@ -9,8 +9,8 @@
* included in the distribution.
*
* $RCSfile: hugs.c,v $
* $Revision: 1.7
1
$
* $Date: 2000/05/12 1
1:59:39
$
* $Revision: 1.7
2
$
* $Date: 2000/05/12 1
3:34:06
$
* ------------------------------------------------------------------------*/
#include <setjmp.h>
...
...
@@ -138,7 +138,7 @@ static ConId currentModule_failed = NIL; /* Remember failed module from :r */
#ifdef DIET_HEP
#include "
d
iet
_hep
.h"
#include "
D
iet
HEP
.h"
static
int
diet_hep_initialised
=
0
;
...
...
ghc/interpreter/interface.c
View file @
79609941
...
...
@@ -7,8 +7,8 @@
* Hugs version 1.4, December 1997
*
* $RCSfile: interface.c,v $
* $Revision: 1.5
7
$
* $Date: 2000/0
4/27
1
6
:3
5:29
$
* $Revision: 1.5
8
$
* $Date: 2000/0
5/12
1
3
:3
4:07
$
* ------------------------------------------------------------------------*/
#include "hugsbasictypes.h"
...
...
@@ -2528,7 +2528,6 @@ Type type; {
SymX(putMVarzh_fast) \
SymX(newMVarzh_fast) \
SymX(takeMVarzh_fast) \
SymX(takeMaybeMVarzh_fast) \
SymX(catchzh_fast) \
SymX(raisezh_fast) \
SymX(delayzh_fast) \
...
...
@@ -2644,20 +2643,13 @@ Type type; {
SymX(__imp__tzname) \
SymX(__imp__timezone) \
SymX(tzset) \
Sym(log)
\
Sym(exp)
\
Sym
X
(log) \
Sym
X
(exp) \
Sym(sqrt) \
Sym(sin) \
Sym(cos) \
Sym(tan) \
Sym(asin) \
Sym(acos) \
Sym(atan) \
Sym(sinh) \
Sym(cosh) \
Sym(tanh) \
Sym(pow) \
Sym(__errno) \
SymX(pow) \
SymX(__errno) \
Sym(stat) \
Sym(fstat) \
Sym(gettimeofday) \
...
...
@@ -2668,7 +2660,7 @@ Type type; {
#define EXTERN_SYMS_linux \
SymX(__errno_location)
\
SymX(__errno_location) \
Sym(__xstat) \
Sym(__fxstat) \
Sym(__lxstat) \
...
...
ghc/interpreter/storage.c
View file @
79609941
...
...
@@ -9,8 +9,8 @@
* included in the distribution.
*
* $RCSfile: storage.c,v $
* $Revision: 1.7
6
$
* $Date: 2000/05/1
0 09:02:25
$
* $Revision: 1.7
7
$
* $Date: 2000/05/1
2 13:34:07
$
* ------------------------------------------------------------------------*/
#include "hugsbasictypes.h"
...
...
@@ -20,7 +20,13 @@
#include "object.h"
#include <setjmp.h>
#include "Stg.h"
#include "Storage.h"
/* for MarkRoot */
/* #include "Storage.h"
We'd like to, but Storage.h and storage.h look the same under
Cygwin, alas, causing compilation chaos. So just copy what
we need to know, which is ...
*/
extern
StgClosure
*
MarkRoot
(
StgClosure
*
);
/*#define DEBUG_SHOWUSE*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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