aboutsummaryrefslogtreecommitdiff
path: root/ares/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-25 01:02:52 +0000
committerYang Tse <yangsita@gmail.com>2006-11-25 01:02:52 +0000
commita46f55b9de423b4084982467d6f28f69a64ab8f3 (patch)
treeb7fff68dc4d7e9d68b267bc0918f96c3a9771e61 /ares/setup_once.h
parenta634f644005cbe2b3dea2b84328d605ec3474054 (diff)
Make sure RETSIGTYPE is properly defined
Diffstat (limited to 'ares/setup_once.h')
-rw-r--r--ares/setup_once.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h
index 23d75ca0d..7c22b2aab 100644
--- a/ares/setup_once.h
+++ b/ares/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 */