(SYSV): Don't define on Solaris 2.

From Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>.
This commit is contained in:
Gerd Moellmann 2001-08-16 12:55:40 +00:00
parent ae13fc3c6f
commit cca1b1d7ca
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2001-08-16 Gerd Moellmann <gerd@gnu.org>
* xrdb.c (SYSV): Don't define on Solaris 2.
From Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
* xdisp.c (move_it_by_lines) <DVPOS < 0>: Start at the beginning
of the screen line, not text line, containing IT's current
position.

View file

@ -33,12 +33,15 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#if 1 /* I'd really appreciate it if this code could go away... -JimB */
/* this avoids lossage in the `dual-universe' headers on AT&T SysV X11 */
#ifdef USG5
/* This avoids lossage in the `dual-universe' headers on AT&T SysV
X11. Don't do it on Solaris, because it breaks compilation with
XFree86 4.0.3 (and probably many other X11R6 releases) on Solaris
2 */
#if defined(USG5) && !defined(SOLARIS2)
#ifndef SYSV
#define SYSV
#endif
#endif /* USG5 */
#endif /* USG5 && !SOLARIS2 */
#endif /* 1 */