diff options
author | Yang Tse <yangsita@gmail.com> | 2006-11-24 16:38:58 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-11-24 16:38:58 +0000 |
commit | 286eafac7b8c4d9de46fab01cb2c1961cd54915d (patch) | |
tree | 6fe9af34c05c405fcf056dd399bf669f2adfd935 | |
parent | 6a59182e81ad9186699ec6931e5a40851fce0df0 (diff) | |
download | c-ares-286eafac7b8c4d9de46fab01cb2c1961cd54915d.tar.gz c-ares-286eafac7b8c4d9de46fab01cb2c1961cd54915d.tar.bz2 c-ares-286eafac7b8c4d9de46fab01cb2c1961cd54915d.zip |
Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILE
as appropriate for platforms that don't have autotools support
-rw-r--r-- | Makefile.dj | 1 | ||||
-rw-r--r-- | Makefile.netware | 2 | ||||
-rw-r--r-- | config-win32.h | 6 |
3 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.dj b/Makefile.dj index 5887041..58ff9c6 100644 --- a/Makefile.dj +++ b/Makefile.dj @@ -11,6 +11,7 @@ include Makefile.inc CFLAGS += -DWATT32 -DHAVE_AF_INET6 -DHAVE_PF_INET6 -DHAVE_FIONBIO \ -DHAVE_STRUCT_IN6_ADDR -DHAVE_SOCKADDR_IN6_SIN6_SCOPE_ID \ -DHAVE_SYS_TIME_H -DHAVE_STRUCT_SOCKADDR_IN6 -DHAVE_STRUCT_ADDRINFO \ + -DHAVE_SIGNAL_H -DHAVE_SIG_ATOMIC_T \ -DHAVE_ARPA_NAMESER_H -DNS_INADDRSZ=4 -DHAVE_RECV -DHAVE_SEND \ -DSEND_TYPE_ARG1='int' -DSEND_QUAL_ARG2='const' \ -DSEND_TYPE_ARG2='void*' -DSEND_TYPE_ARG3='int' \ diff --git a/Makefile.netware b/Makefile.netware index b20497f..d0a441d 100644 --- a/Makefile.netware +++ b/Makefile.netware @@ -281,6 +281,8 @@ config.h: Makefile.netware @echo $(DL)#define HAVE_SEND 1$(DL) >> $@ @echo $(DL)#define HAVE_SETJMP_H 1$(DL) >> $@ @echo $(DL)#define HAVE_SIGNAL 1$(DL) >> $@ + @echo $(DL)#define HAVE_SIGNAL_H 1$(DL) >> $@ + @echo $(DL)#define HAVE_SIG_ATOMIC_T 1$(DL) >> $@ @echo $(DL)#define HAVE_SOCKET 1$(DL) >> $@ @echo $(DL)#define HAVE_STDINT_H 1$(DL) >> $@ @echo $(DL)#define HAVE_STDLIB_H 1$(DL) >> $@ diff --git a/config-win32.h b/config-win32.h index d88c5a4..4b802e1 100644 --- a/config-win32.h +++ b/config-win32.h @@ -29,6 +29,9 @@ #define HAVE_GETOPT_H 1 #endif +/* Define if you have the <signal.h> header file. */ +#define HAVE_SIGNAL_H 1 + /* Define if you have the <sys/time.h> header file */ /* #define HAVE_SYS_TIME_H 1 */ @@ -57,6 +60,9 @@ /* OTHER HEADER INFO */ /* ---------------------------------------------------------------- */ +/* Define if sig_atomic_t is an available typedef. */ +#define HAVE_SIG_ATOMIC_T 1 + /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 |