summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-25 01:02:52 (GMT)
committerYang Tse <yangsita@gmail.com>2006-11-25 01:02:52 (GMT)
commit65fc05826e42985a2fcc394c14a1dc0ed434f502 (patch)
tree0f6f7a33031c70334ce4eb030f3a8f9fdce30a08 /setup_once.h
parent286eafac7b8c4d9de46fab01cb2c1961cd54915d (diff)
downloadc-ares-65fc05826e42985a2fcc394c14a1dc0ed434f502.zip
c-ares-65fc05826e42985a2fcc394c14a1dc0ed434f502.tar.gz
c-ares-65fc05826e42985a2fcc394c14a1dc0ed434f502.tar.bz2
Make sure RETSIGTYPE is properly defined
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup_once.h b/setup_once.h
index 23d75ca..7c22b2a 100644
--- a/setup_once.h
+++ b/setup_once.h
@@ -133,5 +133,14 @@ typedef int sig_atomic_t;
#endif
+/*
+ * Default return type for signal handlers.
+ */
+
+#ifndef RETSIGTYPE
+#define RETSIGTYPE void
+#endif
+
+
#endif /* __SETUP_ONCE_H */