[project @ 1998-08-14 11:01:57 by sof]
authorsof <unknown>
Fri, 14 Aug 1998 11:01:57 +0000 (11:01 +0000)
committersof <unknown>
Fri, 14 Aug 1998 11:01:57 +0000 (11:01 +0000)
Protect long long bits with HAVE_LONG_LONG

ghc/includes/StgTypes.lh

index 7c4d717..553cd46 100644 (file)
@@ -85,7 +85,7 @@ typedef unsigned long  *StgPtr;               /* StgPtr is a ptr to a heap object
 typedef StgPtr        *StgPtrPtr;      /* used for A stack pointer */
 typedef long           StgInt;
 
-#if __GNUC__
+#if HAVE_LONG_LONG
 /* These types are only used to allow the passing of
    64-bit ints from Haskell to ccalls and to ease
    the implementation of the Int64 and Word64 libraries.