For GHC, implement the Typeable.hs macros using standalone deriving
[ghc-base.git] / Control / OldException.hs
index 0284899..6442d67 100644 (file)
@@ -3,6 +3,9 @@
            , ForeignFunctionInterface
            , ExistentialQuantification
   #-}
+#ifdef __GLASGOW_HASKELL__
+{-# LANGUAGE DeriveDataTypeable, StandaloneDeriving #-}
+#endif
 
 #include "Typeable.h"