aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/SetLocale.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 20:59:35 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-08 22:40:46 +0100
commit184c5d778210dea8eab045a5f7ecf9d4344c1c34 (patch)
tree9ac5219fc25700a78e5ad934ba1372482f6fb5ba /nx-X11/lib/X11/SetLocale.c
parentace255eda62081526b721e82ed0339c566975ad3 (diff)
downloadnx-libs-184c5d778210dea8eab045a5f7ecf9d4344c1c34.tar.gz
nx-libs-184c5d778210dea8eab045a5f7ecf9d4344c1c34.tar.bz2
nx-libs-184c5d778210dea8eab045a5f7ecf9d4344c1c34.zip
drop platform support: unifdef hpux and __hppa__.
Fixes ArcticaProject/nx-libs#273.
Diffstat (limited to 'nx-X11/lib/X11/SetLocale.c')
-rw-r--r--nx-X11/lib/X11/SetLocale.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/nx-X11/lib/X11/SetLocale.c b/nx-X11/lib/X11/SetLocale.c
index e14fdaef6..832976ee3 100644
--- a/nx-X11/lib/X11/SetLocale.c
+++ b/nx-X11/lib/X11/SetLocale.c
@@ -99,18 +99,10 @@ _XlcMapOSLocaleName(
char *osname,
char *siname)
{
-#if defined(hpux) || defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(sgi) || defined(__osf__) || defined(AIXV3) || defined(ultrix) || defined(WIN32) || defined(linux)
-# ifdef hpux
-# ifndef _LastCategory
- /* HPUX 9 and earlier */
-# define SKIPCOUNT 2
-# define STARTCHAR ':'
-# define ENDCHAR ';'
-# else
- /* HPUX 10 */
-# define ENDCHAR ' '
-# endif
-# else
+
+/* FIXME: correct indentation levels after ancient platform clean-up */
+
+#if defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(sgi) || defined(__osf__) || defined(AIXV3) || defined(ultrix) || defined(WIN32) || defined(linux)
# ifdef ultrix
# define SKIPCOUNT 2
# define STARTCHAR '\001'
@@ -138,7 +130,6 @@ _XlcMapOSLocaleName(
# endif
# endif
# endif
-# endif
char *start;
char *end;