aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 21:32:46 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-08 22:40:47 +0100
commita9c30796dce587627524ffa886eeef5e73144c46 (patch)
tree20657a721e575eb42b15723aed14116fe2a173ac /nx-X11/lib
parent4b178918ba19ebd9daa6f87fa790b6f6767b1f61 (diff)
downloadnx-libs-a9c30796dce587627524ffa886eeef5e73144c46.tar.gz
nx-libs-a9c30796dce587627524ffa886eeef5e73144c46.tar.bz2
nx-libs-a9c30796dce587627524ffa886eeef5e73144c46.zip
drop platform support: unifdef __osf__.
Fixes ArcticaProject/nx-libs#288.
Diffstat (limited to 'nx-X11/lib')
-rw-r--r--nx-X11/lib/X11/SetLocale.c7
-rw-r--r--nx-X11/lib/xtrans/Xtranssock.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/nx-X11/lib/X11/SetLocale.c b/nx-X11/lib/X11/SetLocale.c
index 4ceed03a9..4f39f1fcf 100644
--- a/nx-X11/lib/X11/SetLocale.c
+++ b/nx-X11/lib/X11/SetLocale.c
@@ -102,7 +102,7 @@ _XlcMapOSLocaleName(
/* FIXME: correct indentation levels after ancient platform clean-up */
-#if defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(sgi) || defined(__osf__) || defined(ultrix) || defined(WIN32) || defined(linux)
+#if defined(CSRG_BASED) || defined(sun) || defined(SVR4) || defined(sgi) || defined(ultrix) || defined(WIN32) || defined(linux)
# ifdef ultrix
# define SKIPCOUNT 2
# define STARTCHAR '\001'
@@ -114,10 +114,6 @@ _XlcMapOSLocaleName(
# define ENDCHAR ';'
# define WHITEFILL
# else
-# if defined(__osf__)
-# define STARTCHAR ' '
-# define ENDCHAR ' '
-# else
# if defined(linux)
# define STARTSTR "LC_CTYPE="
# define ENDCHAR ';'
@@ -127,7 +123,6 @@ _XlcMapOSLocaleName(
# define ENDCHAR '/'
# endif
# endif
-# endif
# endif
# endif
diff --git a/nx-X11/lib/xtrans/Xtranssock.c b/nx-X11/lib/xtrans/Xtranssock.c
index 1a76c406d..dff217e9d 100644
--- a/nx-X11/lib/xtrans/Xtranssock.c
+++ b/nx-X11/lib/xtrans/Xtranssock.c
@@ -136,7 +136,7 @@ from the copyright holders.
#ifndef NO_TCP_H
#if defined(linux) || defined(__GLIBC__)
#include <sys/param.h>
-#endif /* osf */
+#endif /* linux || __GLIBC__ */
#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/param.h>
#include <machine/endian.h>