view src/s/irix6-0.h @ 50149:5d83d663737a

(struct glyph): Reduce face_id member from 22 to 21 bits (this reduces number of faces from 4M to 2M). Replace W32 specific w32_font_type member (2 bits) by generic font_type member (3 bits) for portability. (FONT_TYPE_UNKNOWN): New define, default for font_type member. (enum draw_glyphs_face): Define here. (struct glyph_string): Define here. Merge W32 and X versions. (struct redisplay_interface): New members per_char_metric, encode_char, compute_glyph_string_overhangs, draw_glyph_string. (VCENTER_BASELINE_OFFSET): Define here. (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here.
author Kim F. Storm <storm@cua.dk>
date Sun, 16 Mar 2003 20:45:20 +0000
parents d06ce341b650
children 695cf19ef79e
line wrap: on
line source

#include "irix5-0.h"

/* Irix 6 tries to do 64 bits, but doesn't do it fully,
   so inhibit that.  */
#define IRIX_FORCE_32_BITS

#ifndef __GNUC__
#define LD_SWITCH_SYSTEM -32
#endif

/* This macro definition, which we inherited from irix5-0.h,
   is needed in configure on Irix 5, but gets in the way there
   on Irix 6.  So get rid of it except in Makefile.in where we need it.  */
#ifndef THIS_IS_MAKEFILE
#undef C_SWITCH_SYSTEM
#endif

/* The only supported 32-bit configuration of GCC under IRIX6.x produces
   n32 MIPS ABI binaries and also supports -g. */
#ifdef __GNUC__
#undef C_DEBUG_SWITCH
#define C_DEBUG_SWITCH -g
#endif

#undef SA_RESTART

/* It turns out that the #define in irix5-0.h is needed in Irix 6 as well.  */
#if 0
/* Cancel the #define that is in irix5-0.h.  */
#undef ospeed
#endif

#undef TIOCSIGSEND

/* Tested on Irix 6.5.  SCM worked on earlier versions.  */
#define GC_SETJMP_WORKS 1
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS