From: sof Date: Fri, 14 Mar 1997 03:44:04 +0000 (+0000) Subject: [project @ 1997-03-14 03:44:04 by sof] X-Git-Tag: Approximately_1000_patches_recorded~802 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fef3313bd9966f1d8edf78073840c02f6d85e5a8;p=ghc-hetmet.git [project @ 1997-03-14 03:44:04 by sof] AIX const removal hack --- diff --git a/ghc/runtime/main/SMRep.lc b/ghc/runtime/main/SMRep.lc index 19c6d51..844d875 100644 --- a/ghc/runtime/main/SMRep.lc +++ b/ghc/runtime/main/SMRep.lc @@ -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);