Mercurial > emacs
diff src/s/sco5.h @ 42414:0657fd32e7f8
(LIBX11_SYSTEM) [MOTIF]: Add -lgen.
(sigprocmask_set): Conditionalize decl on ! NOT_C_CODE.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 29 Dec 2001 23:48:45 +0000 |
parents | 1b70ac487744 |
children | 4be8406ebef9 |
line wrap: on
line diff
--- a/src/s/sco5.h Sat Dec 29 22:25:06 2001 +0000 +++ b/src/s/sco5.h Sat Dec 29 23:48:45 2001 +0000 @@ -70,7 +70,12 @@ /* This is safe since we already assumed HAVE_SOCKET if using X windows. */ #undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lpt -lnls -lnsl -lc -lsocket +#define LIBX11_SYSTEM_COMMON -lpt -lnls -lnsl -lc -lsocket +#ifdef MOTIF +# define LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON +#else /* ndef MOTIF */ +# define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON +#endif /* ndef MOTIF */ #undef LIB_X11_LIB #define LIB_X11_LIB -lX11 @@ -129,7 +134,11 @@ #undef POSIX_SIGNALS #define SIGMASKTYPE long + +#ifndef NOT_C_CODE extern SIGMASKTYPE sigprocmask_set; +#endif /* not NOT_C_CODE */ + #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))