mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
(NSIG): Remove. (NSIG_MINIMUM): New macro. s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/umips.h, s/usg5-4.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * s/gnu-linux.h: (SIGPOLL, SIGURG): Do not undef. (BROKEN_SIGPOLL, BROKEN_SIGURG): New macros. * s/ptx4.h: (SIGINFO): Do not undef. (BROKEN_SIGINFO): New macros. * s/ptx.h, s/template.h: Doc fix. * s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h, s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h, s/usg5-3.h, s/xenix.h: (open, close, read, write, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove. * s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
/* Handle Solaris 2.5. */
|
|
|
|
/* Enable large-file support if available (Solaris 2.6 and later).
|
|
Do this before including any system include file. */
|
|
#ifndef _LARGEFILE_SOURCE
|
|
#define _LARGEFILE_SOURCE 1
|
|
#endif
|
|
#ifndef _FILE_OFFSET_BITS
|
|
#define _FILE_OFFSET_BITS 64
|
|
#endif
|
|
|
|
#include "sol2-4.h"
|
|
|
|
/* -lgen is needed for the regex and regcmp functions
|
|
which are used by Motif. In the future we can try changing
|
|
regex.c to provide them in Emacs, but this is safer for now. */
|
|
#define LIB_MOTIF -lXm -lgen
|
|
|
|
/* This is the only known way to avoid some crashes
|
|
that seem to relate to screwed up malloc data
|
|
after deleting a frame. */
|
|
#define SYSTEM_MALLOC
|
|
|
|
#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
|
|
/* Don't use the shared libraries for -lXt and -lXaw,
|
|
to work around a linker bug in Solaris 2.5.
|
|
(This also affects the other libraries used specifically for
|
|
the X toolkit, which may not be necessary.) */
|
|
#define LIBXT_STATIC
|
|
|
|
#ifdef __GNUC__
|
|
#define STATIC_OPTION -Xlinker -Bstatic
|
|
#define DYNAMIC_OPTION -Xlinker -Bdynamic
|
|
#else
|
|
#define STATIC_OPTION -Bstatic
|
|
#define DYNAMIC_OPTION -Bdynamic
|
|
#endif
|
|
|
|
#endif /* 0 */
|