On Fri, Aug 24, 2007 at 09:00:55PM +0200, Clemens Fruhwirth wrote:
> At Fri, 24 Aug 2007 19:30:20 +0100,
> "Neil Mitchell" <[EMAIL PROTECTED]> wrote:
> 
> > In GHC 6.6.1, dropDrive is not available, it will only be the next release.
> 
> What would be a more appropriate variable to check?
> __GLASGOW_HASKELL__ only includes the major and minor number but not
> the patch level. We could change the check to default to the compat
> version for the whole GHC 6.6.x series (which wouldn't hurt that much
> as dropDrive isn't that huge)

What you did was correct: __GLASGOW_HASKELL__ is 606 for all the 6.6.x
releases, none of which have dropDrive.  The define doesn't distinguish
patch levels, because they are guaranteed to have the same API.
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to