summaryrefslogtreecommitdiff
path: root/src/Intrinsic.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:14:29 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:14:29 -0800
commitae35984780c7587fff7029ef5655f9ce6c4acc66 (patch)
treee96d1543de4456dfa8bf4fc4a0ca5aae6079a4b7 /src/Intrinsic.c
parent0f4d2e4db54161e6e763248bee1446080c38d284 (diff)
unifdef hpux
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r--src/Intrinsic.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index 6171961..e98be86 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -1170,23 +1170,7 @@ static String
ExtractLocaleName(String lang)
{
-#if defined(hpux) || defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(__osf__) || defined(AIXV3) || defined(WIN32) || defined (linux)
-#ifdef hpux
-/*
- * We need to discriminated between HPUX 9 and HPUX 10. The equivalent
- * code in Xlib in SetLocale.c does include locale.h via X11/Xlocale.h.
- */
-#include <locale.h>
-#ifndef _LastCategory
- /* HPUX 9 and earlier */
-#define SKIPCOUNT 2
-#define STARTCHAR ':'
-#define ENDCHAR ';'
-#else
- /* HPUX 10 */
-#define ENDCHAR ' '
-#endif
-#else
+#if defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(__osf__) || defined(AIXV3) || defined(WIN32) || defined (linux)
#ifdef WIN32
#define SKIPCOUNT 1
#define STARTCHAR '='
@@ -1208,7 +1192,6 @@ ExtractLocaleName(String lang)
#endif
#endif
#endif
-#endif
String start;
String end;