[Xorg-commit] xc/include Xfuncs.h,1.1.4.1,1.1.4.2 Xos.h,1.1.4.2,1.1.4.3 Xosdefs.h,1.1.4.1,1.1.4.2

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Sat Dec 20 02:28:57 EET 2003


Committed by: kaleb

Update of /cvs/xorg/xc/include
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/include

Modified Files:
      Tag: XORG-CURRENT
	Xfuncs.h Xos.h Xosdefs.h 
Log Message:
merge XFree86 RC2 (4.3.99.902) from vendor branch

Index: Xfuncs.h
===================================================================
RCS file: /cvs/xorg/xc/include/Xfuncs.h,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- Xfuncs.h	17 Nov 2003 19:03:40 -0000	1.1.4.1
+++ Xfuncs.h	20 Dec 2003 00:28:21 -0000	1.1.4.2
@@ -1,4 +1,5 @@
 /*
+ * $XdotOrg$
  * $Xorg: Xfuncs.h,v 1.4 2001/02/09 02:03:22 xorgcvs Exp $
  * 
  * 
@@ -25,7 +26,7 @@
 in this Software without prior written authorization from The Open Group.
  *
  */
-/* $XFree86: xc/include/Xfuncs.h,v 3.10 2002/05/31 18:45:38 dawes Exp $ */
+/* $XFree86: xc/include/Xfuncs.h,v 3.11 2003/12/19 02:05:37 dawes Exp $ */
 
 #ifndef _XFUNCS_H_
 #define _XFUNCS_H_
@@ -40,13 +41,16 @@
 void bzero();
 int bcmp();
 #else
-#if defined(SYSV)
+#if defined(SYSV) && !defined(SCO325)
 #include <memory.h>
 void bcopy();
 #define bzero(b,len) memset(b, 0, len)
 #define bcmp(b1,b2,len) memcmp(b1, b2, len)
 #else
 #include <string.h>
+#ifdef SCO325
+#include <strings.h>
+#endif
 #define _XFUNCS_H_INCLUDED_STRING_H
 #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
 #define bzero(b,len) memset(b, 0, (size_t)(len))

Index: Xos.h
===================================================================
RCS file: /cvs/xorg/xc/include/Xos.h,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- Xos.h	26 Nov 2003 22:48:30 -0000	1.1.4.2
+++ Xos.h	20 Dec 2003 00:28:21 -0000	1.1.4.3
@@ -1,4 +1,5 @@
 /*
+ * $XdotOrg$
  * $Xorg: Xos.h,v 1.6 2001/02/09 02:03:22 xorgcvs Exp $
  * 
  * 
@@ -27,7 +28,7 @@
  * The X Window System is a Trademark of The Open Group.
  *
  */
-/* $XFree86: xc/include/Xos.h,v 3.39 2003/03/25 04:18:07 dawes Exp $ */
+/* $XFree86: xc/include/Xos.h,v 3.41 2003/12/19 02:05:37 dawes Exp $ */
 
 /* This is a collection of things to try and minimize system dependencies
  * in a "signficant" number of source files.
@@ -60,6 +61,10 @@
 #endif
 #endif /* USG */
 
+#if defined(SCO325) || defined(__USLC__)
+#include <stdint.h>
+#endif
+
 #ifdef _SEQUENT_
 /*
  * in_systm.h compatibility between SysV and BSD types u_char u_short u_long
@@ -85,6 +90,9 @@
 #ifndef X_NOT_STDC_ENV
 
 #include <string.h>
+#ifdef SCO325
+#include <strings.h>
+#else
 #ifdef __STDC__
 #ifndef index
 #define index(s,c) (strchr((s),(c)))
@@ -100,6 +108,7 @@
 #define rindex strrchr
 #endif
 #endif
+#endif
 
 #else
 

Index: Xosdefs.h
===================================================================
RCS file: /cvs/xorg/xc/include/Xosdefs.h,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- Xosdefs.h	17 Nov 2003 19:03:40 -0000	1.1.4.1
+++ Xosdefs.h	20 Dec 2003 00:28:21 -0000	1.1.4.2
@@ -1,6 +1,7 @@
 /*
  * O/S-dependent (mis)feature macro definitions
  *
+ * $XdotOrg$
  * $Xorg: Xosdefs.h,v 1.5 2001/02/09 02:03:23 xorgcvs Exp $
  *
 Copyright 1991, 1998  The Open Group
@@ -25,7 +26,7 @@
 used in advertising or otherwise to promote the sale, use or other dealings
 in this Software without prior written authorization from The Open Group.
  */
-/* $XFree86: xc/include/Xosdefs.h,v 3.20 2002/05/31 18:45:39 dawes Exp $ */
+/* $XFree86: xc/include/Xosdefs.h,v 3.21 2003/12/18 16:38:34 dawes Exp $ */
 
 #ifndef _XOSDEFS_H_
 #define _XOSDEFS_H_
@@ -79,6 +80,15 @@
 #endif
 #endif
 
+#ifdef _SCO_DS
+#ifndef SCO
+#define SCO
+#endif
+#ifndef SCO325
+#define SCO325
+#endif
+#endif
+
 #ifdef i386
 #ifdef SYSV
 #if !defined(ISC) && !defined(SCO) && !defined(_SEQUENT_)





More information about the xorg-commit mailing list