Minor wurbles to make it compile on Cygwin following DietHEPpery.
* included in the distribution.
*
* $RCSfile: hugs.c,v $
- * $Revision: 1.71 $
- * $Date: 2000/05/12 11:59:39 $
+ * $Revision: 1.72 $
+ * $Date: 2000/05/12 13:34:06 $
* ------------------------------------------------------------------------*/
#include <setjmp.h>
#ifdef DIET_HEP
-#include "diet_hep.h"
+#include "DietHEP.h"
static int diet_hep_initialised = 0;
* Hugs version 1.4, December 1997
*
* $RCSfile: interface.c,v $
- * $Revision: 1.57 $
- * $Date: 2000/04/27 16:35:29 $
+ * $Revision: 1.58 $
+ * $Date: 2000/05/12 13:34:07 $
* ------------------------------------------------------------------------*/
#include "hugsbasictypes.h"
SymX(putMVarzh_fast) \
SymX(newMVarzh_fast) \
SymX(takeMVarzh_fast) \
- SymX(takeMaybeMVarzh_fast) \
SymX(catchzh_fast) \
SymX(raisezh_fast) \
SymX(delayzh_fast) \
SymX(__imp__tzname) \
SymX(__imp__timezone) \
SymX(tzset) \
- Sym(log) \
- Sym(exp) \
+ SymX(log) \
+ SymX(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) \
#define EXTERN_SYMS_linux \
- SymX(__errno_location) \
+ SymX(__errno_location) \
Sym(__xstat) \
Sym(__fxstat) \
Sym(__lxstat) \
* included in the distribution.
*
* $RCSfile: storage.c,v $
- * $Revision: 1.76 $
- * $Date: 2000/05/10 09:02:25 $
+ * $Revision: 1.77 $
+ * $Date: 2000/05/12 13:34:07 $
* ------------------------------------------------------------------------*/
#include "hugsbasictypes.h"
#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*/