summaryrefslogtreecommitdiff
path: root/mbone/vic/files/patch-ac
blob: 1512d364eb7713df424af2b2eddf8ecfcdc89a9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
*** main.cc.orig	Wed Dec 14 17:11:18 1994
--- main.cc	Wed Dec 14 17:12:59 1994
***************
*** 464,472 ****
  	signal(SIGTERM, (void (*)(int ...))adios);
  #endif
! #elif defined(__osf__) ||  defined(__hpux__) || defined(__NetBSD__)
  	signal(SIGINT, (void (*)(int))adios);
  	signal(SIGHUP, (void (*)(int))adios);
  	signal(SIGTERM, (void (*)(int))adios);
! #ifdef __NetBSD__
  	signal(SIGSYS, (void (*)(int))noXShm);
  #endif
--- 464,473 ----
  	signal(SIGTERM, (void (*)(int ...))adios);
  #endif
! #elif defined(__osf__) ||  defined(__hpux__) || defined(__NetBSD__) || defined(__FreeBSD__)
  	signal(SIGINT, (void (*)(int))adios);
  	signal(SIGHUP, (void (*)(int))adios);
  	signal(SIGTERM, (void (*)(int))adios);
! #if defined(__NetBSD__) /*|| defined(__FreeBSD__)*/
! 	/* XXX: -DNOSHM should not be conditionalized on just machine(i386) */
  	signal(SIGSYS, (void (*)(int))noXShm);
  #endif