Mercurial > emacs
view src/=sol2-2.h @ 7921:b3a5b629fe26
Include <sys/file.h> and [USG5] <fcntl.h> to define O_* macros.
(O_RDONLY, O_RDWR): Define if undefined.
[emacs] (report_error): Use report_file_error so the user can tell what the
errno code was.
(unexec): Use O_RDONLY instead of explicit 0.
(make_hdr): Don't undo A_TEXT_OFFSET adjustment #ifndef NO_REMAP, since it
was never adjusted earlier #ifndef NO_REMAP.
(adjust_lnnoptrs): Use O_RDWR instead of explicit 2.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Thu, 16 Jun 1994 06:55:46 +0000 |
parents | 85b1ac7f1caa |
children |
line wrap: on
line source
/* casper@fwi.uva.nl says this file is not needed and sol2.h should work. */ #include "sol2.h" /* Take care of libucb.a as well as X Windows. */ #undef LD_SWITCH_SYSTEM #ifndef __GNUC__ #define LD_SWITCH_SYSTEM -R/usr/openwin/lib:/usr/ucblib #else /* GCC */ #define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib:/usr/ucblib #endif /* GCC */ /* Link with libucb.a. */ #ifdef LIB_STANDARD #undef LIB_STANDARD #define LIB_STANDARD -lc -L/usr/ucblib -lucb #endif