diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-15 19:20:13 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-01 15:19:13 +0100 |
commit | 19edfab7857c158b0925a373531680be78879a61 (patch) | |
tree | 5d1d64b1f5e4a829a2a5ef37e94ec092f2b9918f /nx-X11/lib | |
parent | 0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8 (diff) | |
download | nx-libs-19edfab7857c158b0925a373531680be78879a61.tar.gz nx-libs-19edfab7857c158b0925a373531680be78879a61.tar.bz2 nx-libs-19edfab7857c158b0925a373531680be78879a61.zip |
drop platform support: unifdef Lynx.
Fixes ArcticaProject/nx-libs#272.
Diffstat (limited to 'nx-X11/lib')
-rw-r--r-- | nx-X11/lib/X11/ConnDis.c | 4 | ||||
-rw-r--r-- | nx-X11/lib/X11/ImUtil.c | 4 | ||||
-rw-r--r-- | nx-X11/lib/X11/PutImage.c | 4 | ||||
-rw-r--r-- | nx-X11/lib/X11/lcDefConv.c | 2 | ||||
-rw-r--r-- | nx-X11/lib/X11/lcGenConv.c | 2 |
5 files changed, 2 insertions, 14 deletions
diff --git a/nx-X11/lib/X11/ConnDis.c b/nx-X11/lib/X11/ConnDis.c index 660b67645..dfc0227fe 100644 --- a/nx-X11/lib/X11/ConnDis.c +++ b/nx-X11/lib/X11/ConnDis.c @@ -67,12 +67,8 @@ in this Software without prior written authorization from The Open Group. #include <unistd.h> #if !defined(WIN32) -#ifndef Lynx #include <sys/socket.h> #else -#include <socket.h> -#endif -#else #include <nx-X11/Xwindows.h> #endif diff --git a/nx-X11/lib/X11/ImUtil.c b/nx-X11/lib/X11/ImUtil.c index b0d421680..79ba80ecc 100644 --- a/nx-X11/lib/X11/ImUtil.c +++ b/nx-X11/lib/X11/ImUtil.c @@ -238,10 +238,6 @@ static void _putbits( * */ -#if defined(Lynx) && defined(ROUNDUP) -#undef ROUNDUP -#endif - #define ROUNDUP(nbytes, pad) ((((nbytes) + ((pad)-1)) / (pad)) * ((pad)>>3)) #define XYNORMALIZE(bp, img) \ diff --git a/nx-X11/lib/X11/PutImage.c b/nx-X11/lib/X11/PutImage.c index de085bcde..daf172cf0 100644 --- a/nx-X11/lib/X11/PutImage.c +++ b/nx-X11/lib/X11/PutImage.c @@ -39,10 +39,6 @@ in this Software without prior written authorization from The Open Group. #define RConst const #endif -#if defined(Lynx) && defined(ROUNDUP) -#undef ROUNDUP -#endif - /* assumes pad is a power of 2 */ #define ROUNDUP(nbytes, pad) (((nbytes) + ((pad) - 1)) & ~(long)((pad) - 1)) diff --git a/nx-X11/lib/X11/lcDefConv.c b/nx-X11/lib/X11/lcDefConv.c index 51ad2f8e7..2096d871b 100644 --- a/nx-X11/lib/X11/lcDefConv.c +++ b/nx-X11/lib/X11/lcDefConv.c @@ -44,7 +44,7 @@ #define MB_LEN_MAX 6 #endif -#if !defined(Lynx_22) && !defined(X_LOCALE) +#if !defined(X_LOCALE) #define STDCVT #endif diff --git a/nx-X11/lib/X11/lcGenConv.c b/nx-X11/lib/X11/lcGenConv.c index eede76807..799f49a30 100644 --- a/nx-X11/lib/X11/lcGenConv.c +++ b/nx-X11/lib/X11/lcGenConv.c @@ -53,7 +53,7 @@ #include "XlcGeneric.h" #include <stdio.h> -#if !defined(Lynx_22) && !defined(X_LOCALE) +#if !defined(X_LOCALE) #define STDCVT #endif |