view src/s/irix6-0.h @ 37611:73f25c014d5c

(rmail-insert-mime-forwarded-message-function) (rmail-search-mime-message-function) (rmail-search-mime-header-function): New variables. (rmail-expunge-and-save): Be sure to set-buffer to the Rmail buffer. (rmail-quit): Bury `rmail-buffer' after `rmail-view-buffer' is hidden. (rmail-get-new-mail): Likewise. (rmail-toggle-header): Likewise. If rmail-enable-mime is non-nil, call rmai-show-mime-function. (rmail-display-labels): If rmail-enable-mime is non-nil, update mode-line-process of rmail-view-buffer. (rmail-set-attribute): Be sure to set-buffer to the Rmail buffer. (rmail-show-message): Be sure to call rmail-auto-file in the Rmail buffer. (rmail-next-message): Be sure to set-buffer to the Rmail buffer. (rmail-next-undeleted-message): Likewise. (rmail-message-regexp-p): If rmail-enable-mime is non-nil, call rmail-search-mime-header-function. (rmail-search-message): New function. (rmail-search): Call rmail-search-message to check if a message matches REGEXP, lastly update point after calling rmail-show-message. (rmail-undelete-previous-message): Be sure to set-buffer to the Rmail buffer. (rmail-expunge-confirmed): Likewise. (rmail-only-expunge): Likewise. (rmail-reply): If rmail-enable-mime is non-nil, don't narrow to header region, refer to rmail-msgref-vector while setting the current buffer to rmail-buffer temporarily. (rmail-forward): Be sure to bind forward-buffer to the Rmail buffer. If rmail-enable-mime is non-nil, call rmail-insert-mime-forwarded-message-function instead of inserting forwarded message by itself.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 08 May 2001 11:17:27 +0000
parents d5dada0b18de
children 3bbdce4d2437 ecf2fa064ecc
line wrap: on
line source

#define IRIX6
#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 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
/* Canced the #define that is in irix5-0.h.  */
#undef ospeed
#endif

/* Cancel some #define's in usg5-4.h.
   Larry Hunter <hunter@nlm.nih.gov> said this was needed
   for Irix 6.5.  Let's see if it is safe in 6.N, N<5, as well.  */
/* Extrapolating from Irix 6.5, the problem is that (at least) the
   bzero definition breaks what the X headers do.  The following means
   that we lack prototypes for these functions, and we presumably lose
   at least in the 64-bit ABI (though that's only supported on Irix
   6.5, which I can test).  We may be saved by the fact that these
   appear to be intrinsics in the SGI (Cray) compiler.  It's probably
   appropriate to include strings.h here, but I can't test it.  See
   irix6-5.h.  -- fx  */
#undef bcopy
#undef bcmp
#undef bzero

#undef TIOCSIGSEND