Mercurial > hg > xemacs-beta
view src/s/irix4-0.h @ 4331:4fbcce3f6097
Don't use undocumented Xt functions in external widget.
2007-12-18 Kenny Chien <Kenny.Chien@morganstanley.com>
* extw-Xt.c (extw_wait_for_response): Don't use undocumented
internal Xt functions, avoiding inconsistent behavior between
different Solaris versions.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Wed, 19 Dec 2007 10:21:38 +0100 |
parents | abe6d1db359e |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ #include "irix3-3.h" #define USG5_3 #define IRIX4 #undef NEED_SIOCTL /* use K&R C */ /* XEmacs change -- use ANSI, not K&R */ #ifndef __GNUC__ #define C_SWITCH_SYSTEM "-xansi" #endif /* SGI has all the fancy wait stuff, but we can't include sys/wait.h because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead we'll just define WNOHANG right here. (An implicit decl is good enough for wait3.) */ /* [XEmacs: Now that we don't use BIG_ENDIAN/LITTLE_ENDIAN, it's safe to include wait.h. Should something change here?] */ #define WNOHANG 0x1 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined on this system, so inhibit use of matherr. */ #define NO_MATHERR