diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index cf97e2e8e..84d67d401 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -795,7 +795,7 @@ OsVendorInit(void) /* * ddxGiveUp -- * Device dependent cleanup. Called by by dix before normal server death. - * For SYSV386 we must switch the terminal back to normal mode. No error- + * On some OSes we must switch the terminal back to normal mode. No error- * checking here, since there should be restored as much as possible. */ diff --git a/hw/xfree86/os-support/bsd/bsd_VTsw.c b/hw/xfree86/os-support/bsd/bsd_VTsw.c index b9afb9889..35b955607 100644 --- a/hw/xfree86/os-support/bsd/bsd_VTsw.c +++ b/hw/xfree86/os-support/bsd/bsd_VTsw.c @@ -33,8 +33,7 @@ #include "xf86_OSlib.h" /* - * Handle the VT-switching interface for OSs that use USL-style ioctl()s - * (the bsd, sysv, sco, and linux subdirs). + * Handle the VT-switching interface for BSD OSs that use USL-style ioctl()s. */ /* diff --git a/hw/xfree86/os-support/shared/VTsw_usl.c b/hw/xfree86/os-support/shared/VTsw_usl.c index 64402616e..84424f4bb 100644 --- a/hw/xfree86/os-support/shared/VTsw_usl.c +++ b/hw/xfree86/os-support/shared/VTsw_usl.c @@ -33,7 +33,8 @@ /* * Handle the VT-switching interface for OSs that use USL-style ioctl()s - * (the sysv, sco, and linux subdirs). + * (this used to include the sysv, sco, and linux subdirs, but only linux + * remains now). */ /* diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index a90478ca2..58855bbc4 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -81,9 +81,9 @@ #include /**************************************************************************/ -/* SYSV386 (SVR3, SVR4), including Solaris */ +/* SVR4, including Solaris */ /**************************************************************************/ -#if (defined(SYSV) || defined(SVR4)) && \ +#if (defined(SVR4)) && \ (defined(__sun) || defined(__i386__)) #include #include @@ -118,14 +118,12 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #define VT_ACKACQ 2 #endif /* !VT_ACKACQ */ -#if defined(SVR4) #if !(defined(__sun) && defined (SVR4)) #define DEV_MEM "/dev/pmem" #endif #define CLEARDTR_SUPPORT -#endif /* SVR4 */ -#endif /* (SYSV || SVR4) */ +#endif /* SVR4 */ /**************************************************************************/ /* Linux or Glibc-based system */ diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index 98f524d6e..f0b57f214 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -25,7 +25,7 @@ #include -#if !defined(SYSV) && !defined(WIN32) +#if !defined(WIN32) #include #endif diff --git a/os/access.c b/os/access.c index 01ceb6d86..ba851dee8 100644 --- a/os/access.c +++ b/os/access.c @@ -124,12 +124,9 @@ SOFTWARE. #include #endif -#if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__) +#if defined(SVR4) || defined(__GNU__) #include #endif -#if defined(SYSV) && defined(__i386__) -#include -#endif #ifdef __GNU__ #undef SIOCGIFCONF #include diff --git a/os/osinit.c b/os/osinit.c index 90ed8fc0b..1c3f63876 100644 --- a/os/osinit.c +++ b/os/osinit.c @@ -69,7 +69,7 @@ SOFTWARE. #include "dixstruct.h" -#if !defined(SYSV) && !defined(WIN32) +#if !defined(WIN32) #include #endif @@ -254,7 +254,7 @@ OsInit(void) dup2(fileno(err), 2); fclose(err); } -#if defined(SYSV) || defined(SVR4) || defined(WIN32) || defined(__CYGWIN__) +#if defined(SVR4) || defined(WIN32) || defined(__CYGWIN__) { static char buf[BUFSIZ]; diff --git a/os/utils.c b/os/utils.c index 71cb5aa49..fbe7e6443 100644 --- a/os/utils.c +++ b/os/utils.c @@ -87,7 +87,7 @@ __stdcall unsigned long GetTickCount(void); #ifndef WIN32 #include #endif -#if !defined(SYSV) && !defined(WIN32) +#if !defined(WIN32) #include #endif #include