projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ded309
)
Remove #define _BSD_SOURCE from Stg.h
author
Ian Lynagh
<igloo@earth.li>
Mon, 6 Oct 2008 10:19:59 +0000
(10:19 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 6 Oct 2008 10:19:59 +0000
(10:19 +0000)
It's no longer needed, as base no longer #includes it
includes/Stg.h
patch
|
blob
|
history
diff --git
a/includes/Stg.h
b/includes/Stg.h
index
32e8380
..
7ac6b1a
100644
(file)
--- a/
includes/Stg.h
+++ b/
includes/Stg.h
@@
-35,9
+35,6
@@
// 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)
# define _ISOC99_SOURCE
-
-// Turning on _ISOC99_SOURCE means S_ISSOCK gets defined on Linux
-# define _BSD_SOURCE
#endif
#if IN_STG_CODE == 0