aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xext
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-05 20:39:23 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:56:10 +0200
commit0670f7583d63977cb175ffe11a64061f88c1bf31 (patch)
tree70ba0a42e02e86da7d3a4ff726dd910150cf7986 /nx-X11/programs/Xserver/Xext
parent270a98bafedfbdfb8089361e8f2cb13903a1c4be (diff)
downloadnx-libs-0670f7583d63977cb175ffe11a64061f88c1bf31.tar.gz
nx-libs-0670f7583d63977cb175ffe11a64061f88c1bf31.tar.bz2
nx-libs-0670f7583d63977cb175ffe11a64061f88c1bf31.zip
Xext,os,xkb: repeat unifdefs
there where remnants of WIN32, CYGWIN and SCO
Diffstat (limited to 'nx-X11/programs/Xserver/Xext')
-rw-r--r--nx-X11/programs/Xserver/Xext/security.c5
-rw-r--r--nx-X11/programs/Xserver/Xext/shm.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/xf86bigfont.c8
3 files changed, 3 insertions, 12 deletions
diff --git a/nx-X11/programs/Xserver/Xext/security.c b/nx-X11/programs/Xserver/Xext/security.c
index df284d6a3..73fe1af85 100644
--- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -73,11 +73,6 @@ in this Software without prior written authorization from The Open Group.
# define DEFAULTPOLICYFILE NULL
#endif
-#if defined(WIN32) || defined(__CYGWIN__)
-#include <nx-X11/Xos.h>
-#undef index
-#endif
-
static int SecurityErrorBase; /* first Security error number */
static int SecurityEventBase; /* first Security event number */
diff --git a/nx-X11/programs/Xserver/Xext/shm.c b/nx-X11/programs/Xserver/Xext/shm.c
index 868087462..594586f97 100644
--- a/nx-X11/programs/Xserver/Xext/shm.c
+++ b/nx-X11/programs/Xserver/Xext/shm.c
@@ -149,7 +149,7 @@ static ShmFuncs fbFuncs = {fbShmCreatePixmap, fbShmPutImage};
}
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
static Bool badSysCall = FALSE;
diff --git a/nx-X11/programs/Xserver/Xext/xf86bigfont.c b/nx-X11/programs/Xserver/Xext/xf86bigfont.c
index a31ffd02c..0b946a663 100644
--- a/nx-X11/programs/Xserver/Xext/xf86bigfont.c
+++ b/nx-X11/programs/Xserver/Xext/xf86bigfont.c
@@ -51,10 +51,6 @@
#ifdef SVR4
#include <sys/sysmacros.h>
#endif
-#if defined(__CYGWIN__) || defined(__SCO__)
-#include <sys/param.h>
-#include <sys/sysmacros.h>
-#endif
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/stat.h>
@@ -110,7 +106,7 @@ static unsigned int pagesize;
static Bool badSysCall = FALSE;
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
static void
SigSysHandler(
@@ -198,7 +194,7 @@ XFree86BigfontExtensionInit()
FontShmdescIndex = AllocateFontPrivateIndex();
#endif /* HAS_XFONT2 */
-#if !defined(CSRG_BASED) && !defined(__CYGWIN__)
+#if !defined(CSRG_BASED)
pagesize = SHMLBA;
#else
# ifdef _SC_PAGESIZE