Index: /trunk/Ohana/src/elixir/src/ConfigInit.c
===================================================================
--- /trunk/Ohana/src/elixir/src/ConfigInit.c	(revision 13321)
+++ /trunk/Ohana/src/elixir/src/ConfigInit.c	(revision 13322)
@@ -42,5 +42,4 @@
   signal (SIGXFSZ,   SIG_DIE);    
   signal (SIGIOT,    SIG_DIE);     
-  signal (SIGPWR,    SIG_DIE);     
   signal (SIGHUP,    SIG_IGN);
   signal (SIGINT,    SIG_DIE);
@@ -58,7 +57,12 @@
   signal (SIGVTALRM, SIG_IGN);  
   signal (SIGIO,     SIG_IGN);      
-  signal (SIGWINCH,  SIG_IGN);   
 
   /* signals which are not always defined */
+# ifdef SIGPWR
+  signal (SIGPWR, SIG_DIE);     /* power failure (Sys V) */
+# endif
+# ifdef SIGWINCH
+  signal (SIGWINCH, SIG_IGN);   /* window resized (4.3BSD) */
+# endif
 # ifdef SIGSYS
   signal (SIGSYS,    SIG_DIE);     
Index: /trunk/Ohana/src/imregister/imreg/SetSignals.c
===================================================================
--- /trunk/Ohana/src/imregister/imreg/SetSignals.c	(revision 13321)
+++ /trunk/Ohana/src/imregister/imreg/SetSignals.c	(revision 13322)
@@ -30,5 +30,4 @@
   signal (SIGXFSZ,   SIG_DIE);    
   signal (SIGIOT,    SIG_DIE);     
-  signal (SIGPWR,    SIG_DIE);     
   signal (SIGINT,    SIG_DIE);
 
@@ -49,7 +48,12 @@
   signal (SIGVTALRM, SIG_IGN);  
   signal (SIGIO,     SIG_IGN);      
-  signal (SIGWINCH,  SIG_IGN);   
 
   /* signals which are not always defined */
+# ifdef SIGPWR
+  signal (SIGPWR, SIG_DIE);     /* power failure (Sys V) */
+# endif
+# ifdef SIGWINCH
+  signal (SIGWINCH, SIG_IGN);   /* window resized (4.3BSD) */
+# endif
 # ifdef SIGUNUSED
   signal (SIGUNUSED, SIG_DFL);  
Index: /trunk/Ohana/src/photdbc/src/SetSignals.c
===================================================================
--- /trunk/Ohana/src/photdbc/src/SetSignals.c	(revision 13321)
+++ /trunk/Ohana/src/photdbc/src/SetSignals.c	(revision 13322)
@@ -35,9 +35,13 @@
       /* ignore these signals */
     case SIGCHLD:    /* child halted: ignore */
-    case SIGPWR:     /* power failure - why ignore this? */
-    case SIGWINCH:   /* window resized */
     case SIGCONT:    /* continue - maintain this action */
     case SIGTSTP:    /* stop signal sent from tty - why ignore? */
     case SIGURG:     /* socket signal, ignore this */
+# ifdef SIGPWR
+    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
+# endif
+# ifdef SIGWINCH
+    case SIGWINCH:   /* window resized (4.3BSD) */
+# endif
       break;
       
Index: /trunk/Ohana/src/relastro/src/SetSignals.c
===================================================================
--- /trunk/Ohana/src/relastro/src/SetSignals.c	(revision 13321)
+++ /trunk/Ohana/src/relastro/src/SetSignals.c	(revision 13322)
@@ -35,9 +35,13 @@
       /* ignore these signals */
     case SIGCHLD:    /* child halted: ignore */
-    case SIGPWR:     /* power failure - why ignore this? */
-    case SIGWINCH:   /* window resized */
     case SIGCONT:    /* continue - maintain this action */
     case SIGTSTP:    /* stop signal sent from tty - why ignore? */
     case SIGURG:     /* socket signal, ignore this */
+# ifdef SIGPWR
+    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
+# endif
+# ifdef SIGWINCH
+    case SIGWINCH:   /* window resized (4.3BSD) */
+# endif
       break;
       
Index: /trunk/Ohana/src/relphot/src/SetSignals.c
===================================================================
--- /trunk/Ohana/src/relphot/src/SetSignals.c	(revision 13321)
+++ /trunk/Ohana/src/relphot/src/SetSignals.c	(revision 13322)
@@ -35,9 +35,13 @@
       /* ignore these signals */
     case SIGCHLD:    /* child halted: ignore */
-    case SIGPWR:     /* power failure - why ignore this? */
-    case SIGWINCH:   /* window resized */
     case SIGCONT:    /* continue - maintain this action */
     case SIGTSTP:    /* stop signal sent from tty - why ignore? */
     case SIGURG:     /* socket signal, ignore this */
+# ifdef SIGPWR
+    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
+# endif
+# ifdef SIGWINCH
+    case SIGWINCH:   /* window resized (4.3BSD) */
+# endif
       break;
       
Index: /trunk/Ohana/src/uniphot/src/SetSignals.c
===================================================================
--- /trunk/Ohana/src/uniphot/src/SetSignals.c	(revision 13321)
+++ /trunk/Ohana/src/uniphot/src/SetSignals.c	(revision 13322)
@@ -35,9 +35,13 @@
       /* ignore these signals */
     case SIGCHLD:    /* child halted: ignore */
-    case SIGPWR:     /* power failure - why ignore this? */
-    case SIGWINCH:   /* window resized */
     case SIGCONT:    /* continue - maintain this action */
     case SIGTSTP:    /* stop signal sent from tty - why ignore? */
     case SIGURG:     /* socket signal, ignore this */
+# ifdef SIGPWR
+    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
+# endif
+# ifdef SIGWINCH
+    case SIGWINCH:   /* window resized (4.3BSD) */
+# endif
       break;
       
