view src/s/irix6-5.h @ 27071:d647366b1464

(x_create_x_image_and_pixmap): Remove parameter file. All calls adjusted. (x_build_heuristic_mask): Likewise. (xbm_load_image_from_file): Change error output. (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) (gif_load, gs_load, x_kill_gs_process): Ditto.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 01 Jan 2000 10:34:55 +0000
parents 8a6fbe59406d
children 7994f21f53e5
line wrap: on
line source

#define IRIX6
#define IRIX6_5
#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__
#ifndef IRIX6_5
#define LD_SWITCH_SYSTEM -32
#else
#define LD_SWITCH_SYSTEM -n32
#endif
#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 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
#else
/* Optimize, inaccurate debugging.  This should also be applicable
   other than on Irix 6.5, but I don't know for which compiler
   versions.  -- fx */
#define C_DEBUG_SWITCH -g3 -O
#endif

#undef SA_RESTART

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