]> git.ipfire.org Git - thirdparty/git.git/commitdiff
msvc: include sigset_t definition
authorPhilip Oakley <philipoakley@iee.org>
Wed, 19 Jun 2019 21:06:01 +0000 (14:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 21:03:05 +0000 (14:03 -0700)
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>
compat/msvc.h

index 29a8ce820435d5c67dd5fd9bc23dab0c2e7d8394..04b4750b87bdbe63a4a00781f45a2806a37c4a49 100644 (file)
@@ -18,6 +18,8 @@
 
 #undef ERROR
 
+typedef int sigset_t;
+
 #include "compat/mingw.h"
 
 #endif