aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-24 16:38:58 +0000
committerYang Tse <yangsita@gmail.com>2006-11-24 16:38:58 +0000
commitbcd8a3b2403d6269a121c469273880021f2cfb20 (patch)
tree0ea18b67ef48d173ca28e7c65bf1e631a1b1e491 /src
parent04d5d1895cb90ddc3dada1b64d48c75d26d4f84e (diff)
Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILE
as appropriate for platforms that don't have autotools support
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.netware2
-rw-r--r--src/config-win32.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index a04043b5b..28aa7582f 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -312,6 +312,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/src/config-win32.h b/src/config-win32.h
index 710860c73..523147d79 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -21,6 +21,9 @@
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
+/* 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 */
@@ -56,6 +59,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