summaryrefslogtreecommitdiff
path: root/fb/fb.h
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2004-05-16 05:08:39 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2004-05-16 05:08:39 +0000
commit47fb207c8ae2b54e976066f78892a1ee3fb35d30 (patch)
tree06dabb49aa605d4ae17ee9222685584dbec05db0 /fb/fb.h
parentfc2dd516c3c7382915452207180a1c483d0d73ca (diff)
xc/programs/Xserver/fb/fb.h
xc/programs/Xserver/fb/fboverlay.c xc/programs/Xserver/fb/fbscreen.c - Change #ifdef for checking for old format miScreenInit to FB_OLD_MISCREENINIT for easier portability to xservers with updated screen structs but old function prototypes. Make it automatically defined if FB_OLD_SCREEN is defined. - Add _LP64 to list of #ifdefs for 64-bit platforms to support 64-bit Solaris.
Diffstat (limited to 'fb/fb.h')
-rw-r--r--fb/fb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fb/fb.h b/fb/fb.h
index f90a3499e..9147beaf1 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -22,6 +22,8 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
+/* $XdotOrg: $ */
+
#ifndef _FB_H_
#define _FB_H_
@@ -103,7 +105,7 @@ typedef unsigned __int64 FbBits;
# else
# if defined(__alpha__) || defined(__alpha) || \
defined(ia64) || defined(__ia64__) || \
- defined(__sparc64__) || \
+ defined(__sparc64__) || defined(_LP64) || \
defined(__s390x__) || \
defined(amd64) || defined (__amd64__) || \
(defined(sgi) && (_MIPS_SZLONG == 64))
@@ -575,6 +577,7 @@ extern const GCFuncs fbGCFuncs;
#endif
#ifdef FB_OLD_SCREEN
+# define FB_OLD_MISCREENINIT /* miScreenInit requires 14 args, not 13 */
extern WindowPtr *WindowTable;
#endif