diff options
Diffstat (limited to 'compiler/HsVersions.h')
| -rw-r--r-- | compiler/HsVersions.h | 5 |
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 , |
