[project @ 1997-03-14 03:44:04 by sof]
authorsof <unknown>
Fri, 14 Mar 1997 03:44:04 +0000 (03:44 +0000)
committersof <unknown>
Fri, 14 Mar 1997 03:44:04 +0000 (03:44 +0000)
AIX const removal hack

ghc/runtime/main/SMRep.lc

index 19c6d51..844d875 100644 (file)
@@ -18,6 +18,10 @@ These are the single, global static instances of each rep table type.
 #include "rtsdefs.h"
 #include "../storage/SMinternal.h"
 
+#ifdef aix_TARGET_OS /* AIX gives link errors with consts in this file (RO assembler section) */
+#define const /* */
+#endif
+
 EXTFUN(_PRIn_0);
 EXTFUN(_PRIn_1);
 EXTFUN(_PRIn_2);