For GHC, implement the Typeable.hs macros using standalone deriving
[ghc-base.git] / Data / Complex.hs
index 9765eda..9ea8a41 100644 (file)
@@ -1,4 +1,7 @@
 {-# LANGUAGE CPP, DeriveDataTypeable #-}
+#ifdef __GLASGOW_HASKELL__
+{-# LANGUAGE StandaloneDeriving #-}
+#endif
 
 -----------------------------------------------------------------------------
 -- |