From a46f55b9de423b4084982467d6f28f69a64ab8f3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 25 Nov 2006 01:02:52 +0000 Subject: Make sure RETSIGTYPE is properly defined --- ares/setup_once.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ares/setup_once.h') 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 */ -- cgit v1.2.3