From ec6722f098a6d8aacea82971dda4eee50a37dcf0 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Thu, 29 Jan 2026 17:58:45 +0900
Subject: Remove support for Irix, which is discontinued and does not provide a
 c++17 complaint compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 .../engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h | 2 +-
 .../engine/helix/helix-sp/helix-include/common/include/hxtypes.h  | 8 --------
 .../engine/helix/helix-sp/helix-include/runtime/hlxclib/stdio.h   | 2 +-
 config.h.in                                                       | 3 ---
 4 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h b/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h
index 3369b430..8d636107 100644
--- a/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h
+++ b/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h
@@ -58,7 +58,7 @@
 extern "C" {
 #endif
 
-#if defined (_SOLARIS) || defined (_IRIX) || defined (_DECALPHA)
+#if defined (_SOLARIS) || defined (_DECALPHA)
 #ifndef __inline
 #define __inline inline
 #endif
diff --git a/amarok/src/engine/helix/helix-sp/helix-include/common/include/hxtypes.h b/amarok/src/engine/helix/helix-sp/helix-include/common/include/hxtypes.h
index 616be9e0..583ef2fa 100644
--- a/amarok/src/engine/helix/helix-sp/helix-include/common/include/hxtypes.h
+++ b/amarok/src/engine/helix/helix-sp/helix-include/common/include/hxtypes.h
@@ -65,14 +65,6 @@
      typedef unsigned int            UINT;
 #  endif
 
-#  if (defined _UNIX && defined _IRIX)
-#    ifdef __LONG_MAX__
-#    undef __LONG_MAX__
-#  endif
-#  define __LONG_MAX__ 2147483647
-# endif
-
-
 #endif /* _VXWORKS */
 
 
diff --git a/amarok/src/engine/helix/helix-sp/helix-include/runtime/hlxclib/stdio.h b/amarok/src/engine/helix/helix-sp/helix-include/runtime/hlxclib/stdio.h
index 4e8ed044..2afd602b 100644
--- a/amarok/src/engine/helix/helix-sp/helix-include/runtime/hlxclib/stdio.h
+++ b/amarok/src/engine/helix/helix-sp/helix-include/runtime/hlxclib/stdio.h
@@ -105,7 +105,7 @@ int __helix_vfprintf(FILE* f, const char  *format, va_list ap);
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf
 
-#elif defined(_WINCE) || defined(_IRIX)
+#elif defined(_WINCE)
 #define snprintf __helix_snprintf
 #define vsnprintf __helix_vsnprintf
 #endif
diff --git a/config.h.in b/config.h.in
index 426f17ce..22ad23f0 100644
--- a/config.h.in
+++ b/config.h.in
@@ -133,9 +133,6 @@
 /* Define to 1 if you have the <ruby.h> header file. */
 #undef HAVE_RUBY_H
 
-/* Define if you have a STL implementation by SGI */
-#undef HAVE_SGI_STL
-
 /* Define to 1 if you have the `snprintf' function. */
 #undef HAVE_SNPRINTF
 
-- 
cgit v1.2.3

