summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Philip Oakley <philipoakley@iee.org>2019-06-19 14:06:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-20 14:03:05 -0700
commit7ca46634bc086568b106e06b0637a0b643f2c78d (patch)
treebd1c334e6b35c500147c370531f8e186e371201f
parentmsvc: fix dependencies of compat/msvc.c (diff)
downloadtgif-7ca46634bc086568b106e06b0637a0b643f2c78d.tar.xz
msvc: include sigset_t definition
On MSVC (VS2008) sigset_t is not defined. Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--compat/msvc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/msvc.h b/compat/msvc.h
index 29a8ce8204..04b4750b87 100644
--- a/compat/msvc.h
+++ b/compat/msvc.h
@@ -18,6 +18,8 @@
#undef ERROR
+typedef int sigset_t;
+
#include "compat/mingw.h"
#endif