From b9efe0f4fcdc4aa2a5f29b15dbf0725f3cacd237 Mon Sep 17 00:00:00 2001 From: Anton Ekblad Date: Wed, 6 Sep 2017 10:11:32 +0200 Subject: [PATCH] base: fix Windows fix for other platforms --- include/HsBaseConfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/HsBaseConfig.h b/include/HsBaseConfig.h index fae786e1..22e8d405 100644 --- a/include/HsBaseConfig.h +++ b/include/HsBaseConfig.h @@ -1,3 +1,4 @@ + /* include/HsBaseConfig.h. Generated from HsBaseConfig.h.in by configure. */ /* include/HsBaseConfig.h.in. Generated from configure.ac by autoheader. */ @@ -380,7 +381,11 @@ #define HAVE_POLL_H 1 /* Define to 1 if you have the header file. */ +#if __unix__ +#define HAVE_SIGNAL_H 1 +#else #undef HAVE_SIGNAL_H +#endif /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1