From fef3313bd9966f1d8edf78073840c02f6d85e5a8 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Fri, 14 Mar 1997 03:44:04 +0000
Subject: [PATCH] [project @ 1997-03-14 03:44:04 by sof] AIX const removal hack

---
 ghc/runtime/main/SMRep.lc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ghc/runtime/main/SMRep.lc b/ghc/runtime/main/SMRep.lc
index 19c6d51427af..844d8750f5dd 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);
-- 
GitLab