[add Typeable.h so containers compiles
John Meacham <john@repetae.net>**20090622192657
 Ignore-this: 11bb1b3e71faf99f5d9e5deb94d8bed3
] hunk ./Makefile.am 220
-	./jhc -v $(RTSOPTS) $(JHC_TEST)  -Ilib/containers/include --ho-dir tmp/libho -ilib/containers  --noauto -L- -L. -p base -p applicative --build-hl lib/containers.cabal -fcpp -o $@
+	./jhc -v $(RTSOPTS) $(JHC_TEST) -Idata -Ilib/containers/include --ho-dir tmp/libho -ilib/containers  --noauto -L- -L. -p base -p applicative --build-hl lib/containers.cabal -fcpp -o $@
addfile ./data/Typeable.h
hunk ./data/Typeable.h 1
+#ifndef _JHC_TYPEABLE_H
+#define _JHC_TYPEABLE_H
+
+
+-- // This file is for backwards compatability with libraries that depend on the ghc internal typeable mechanism
+
+
+#define INSTANCE_TYPEABLE0(tycon,y,z) deriving instance Typeable tycon
+
+#define INSTANCE_TYPEABLE1(tycon,y,z) deriving instance Typeable1 tycon
+
+#define INSTANCE_TYPEABLE2(tycon,y,z) deriving instance Typeable2 tycon
+
+#define INSTANCE_TYPEABLE3(tycon,y,z) deriving instance Typeable3 tycon
+
+#define INSTANCE_TYPEABLE4(tycon,y,z) deriving instance Typeable4 tycon
+
+#endif