*** empty log message ***
[gnulib.git] / lib / fatal-signal.c
index ebba498..3f07294 100644 (file)
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
-   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 
 #ifdef HAVE_CONFIG_H
@@ -90,6 +90,7 @@ init_fatal_signals (void)
   static bool fatal_signals_initialized = false;
   if (!fatal_signals_initialized)
     {
+#if HAVE_SIGACTION
       size_t i;
 
       for (i = 0; i < num_fatal_signals; i++)
@@ -100,6 +101,7 @@ init_fatal_signals (void)
              && action.sa_handler == SIG_IGN)
            fatal_signals[i] = -1;
        }
+#endif
 
       fatal_signals_initialized = true;
     }