dpif: Factor 'type' and 'error' out of individual dpif_op members.
[openvswitch] / lib / fatal-signal.c
index c7e87dbe9fbca7bfb976f0bc921620efcaf508c5..a6ce1b78c9a3eb949851c7f6cf9404a8bcbcf873 100644 (file)
 #include "util.h"
 #include "vlog.h"
 
+#include "type-props.h"
+
+#ifndef SIG_ATOMIC_MAX
+#define SIG_ATOMIC_MAX TYPE_MAXIMUM(sig_atomic_t)
+#endif
+
 VLOG_DEFINE_THIS_MODULE(fatal_signal);
 
 /* Signals to catch. */