projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
calculate wastage due to unused memory at the end of each block
[ghc-hetmet.git]
/
includes
/
Stg.h
diff --git
a/includes/Stg.h
b/includes/Stg.h
index
6ddf17a
..
35f4eda
100644
(file)
--- a/
includes/Stg.h
+++ b/
includes/Stg.h
@@
-31,6
+31,9
@@
*/
#ifndef IN_STG_CODE
# define IN_STG_CODE 1
*/
#ifndef IN_STG_CODE
# define IN_STG_CODE 1
+# define _ISOC99_SOURCE
+// Turn on C99 for .hc code. This gives us the INFINITY and NAN
+// constants from math.h, which we occasionally need to use in .hc (#1861)
#endif
#if IN_STG_CODE == 0
#endif
#if IN_STG_CODE == 0
@@
-154,6
+157,10
@@
typedef StgWord StgWordArray[];
#include "MachRegs.h"
#include "Regs.h"
#include "MachRegs.h"
#include "Regs.h"
+#ifdef TICKY_TICKY
+#include "TickyCounters.h"
+#endif
+
#if IN_STG_CODE
/*
* This is included later for RTS sources, after definitions of
#if IN_STG_CODE
/*
* This is included later for RTS sources, after definitions of