summaryrefslogtreecommitdiff
path: root/compiler/HsVersions.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-03-25 22:16:32 +0000
committerIan Lynagh <igloo@earth.li>2008-03-25 22:16:32 +0000
commitfc85319dfd71f7a642c1858fcdfa4b3d2a10acda (patch)
treee70201ddb85f913ea545c56e322aa4ac0391a38d /compiler/HsVersions.h
parent2fbab1a0f1a017799e8f5130bdf1078060623f29 (diff)
downloadhaskell-fc85319dfd71f7a642c1858fcdfa4b3d2a10acda.tar.gz
Fix warnings in main/StaticFlags
Diffstat (limited to 'compiler/HsVersions.h')
-rw-r--r--compiler/HsVersions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/HsVersions.h b/compiler/HsVersions.h
index 530b0faf5a..c8c09e6294 100644
--- a/compiler/HsVersions.h
+++ b/compiler/HsVersions.h
@@ -32,8 +32,9 @@ you will screw up the layout where they are used in case expressions!
* but we need them currently! so the conditional on GLASGOW won't do. */
#if defined(__GLASGOW_HASKELL__) || !defined(__GLASGOW_HASKELL__)
#define GLOBAL_VAR(name,value,ty) \
-name = Util.global (value) :: IORef (ty); \
-{-# NOINLINE name #-}
+{-# NOINLINE name #-}; \
+name :: IORef (ty); \
+name = Util.global (value);
#endif
#define COMMA ,