summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2014-09-23 08:44:45 -0500
committerAustin Seipp <austin@well-typed.com>2014-09-23 08:44:46 -0500
commit330bb3ef856166d18d959b377f12a51c2629b223 (patch)
tree2beed4c0c3829747428f8b775a9e43eb84144544 /libraries
parent2a743bbddd4de41a77af9b83ec4720cd013292cf (diff)
downloadhaskell-330bb3ef856166d18d959b377f12a51c2629b223.tar.gz
Delete all /* ! __GLASGOW_HASKELL__ */ code
Summary: ``` git grep -l '\(#ifdef \|#if defined\)(\?__GLASGOW_HASKELL__)\?' ``` Test Plan: validate Reviewers: rwbarton, hvr, austin Reviewed By: rwbarton, hvr, austin Subscribers: rwbarton, simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D218
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/cbits/PrelIOUtils.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/libraries/base/cbits/PrelIOUtils.c b/libraries/base/cbits/PrelIOUtils.c
index 415e6b7a0d..4d569032f3 100644
--- a/libraries/base/cbits/PrelIOUtils.c
+++ b/libraries/base/cbits/PrelIOUtils.c
@@ -1,4 +1,4 @@
-/*
+/*
* (c) The University of Glasgow 2002
*
* static versions of the inline functions in HsBase.h
@@ -6,14 +6,9 @@
#define INLINE
-#ifdef __GLASGOW_HASKELL__
-# include "Rts.h"
-#endif
-
+#include "Rts.h"
#include "HsBase.h"
-#ifdef __GLASGOW_HASKELL__
-
void errorBelch2(const char*s, char *t)
{
errorBelch(s,t);
@@ -48,5 +43,3 @@ const char* localeEncoding(void)
#endif
}
#endif
-
-#endif /* __GLASGOW_HASKELL__ */