Mercurial > hg > xemacs-beta
comparison src/syssignal.h @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
210 /* On bsd, [man says] kill does not accept a negative number to kill a pgrp. | 210 /* On bsd, [man says] kill does not accept a negative number to kill a pgrp. |
211 Must do that using the killpg call. */ | 211 Must do that using the killpg call. */ |
212 #ifdef BSD | 212 #ifdef BSD |
213 #define EMACS_KILLPG(gid, signo) killpg (gid, signo) | 213 #define EMACS_KILLPG(gid, signo) killpg (gid, signo) |
214 #else | 214 #else |
215 #ifdef WINDOWSNT | 215 #ifdef WIN32_NATIVE |
216 #define EMACS_KILLPG(gid, signo) kill (gid, signo) | 216 #define EMACS_KILLPG(gid, signo) kill (gid, signo) |
217 #else | 217 #else |
218 #define EMACS_KILLPG(gid, signo) kill (-(gid), signo) | 218 #define EMACS_KILLPG(gid, signo) kill (-(gid), signo) |
219 #endif | 219 #endif |
220 #endif | 220 #endif |
232 | 232 |
233 #ifdef SIGDANGER | 233 #ifdef SIGDANGER |
234 SIGTYPE memory_warning_signal (int sig); | 234 SIGTYPE memory_warning_signal (int sig); |
235 #endif | 235 #endif |
236 | 236 |
237 #ifdef WINDOWSNT | 237 #ifdef WIN32_NATIVE |
238 /* Prototypes for signal functions, see nt.c */ | 238 /* Prototypes for signal functions, see nt.c */ |
239 typedef void (__cdecl *msw_sighandler) (int); | 239 typedef void (__cdecl *mswindows_sighandler) (int); |
240 msw_sighandler msw_sigset (int sig, msw_sighandler handler); | 240 mswindows_sighandler mswindows_sigset (int sig, mswindows_sighandler handler); |
241 int msw_sighold (int nsig); | 241 int mswindows_sighold (int nsig); |
242 int msw_sigrelse (int nsig); | 242 int mswindows_sigrelse (int nsig); |
243 int msw_sigpause (int nsig); | 243 int mswindows_sigpause (int nsig); |
244 int msw_raise (int nsig); | 244 int mswindows_raise (int nsig); |
245 #endif /* _WIN32 */ | 245 #endif /* WIN32_NATIVE */ |
246 | 246 |
247 #endif /* INCLUDED_syssignal_h_ */ | 247 #endif /* INCLUDED_syssignal_h_ */ |