Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
msvc: include sigset_t definition
author
Philip Oakley
<philipoakley@iee.org>
Wed, 19 Jun 2019 21:06:01 +0000
(14:06 -0700)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
963e154
)
diff --git
a/compat/msvc.h
b/compat/msvc.h
index 29a8ce820435d5c67dd5fd9bc23dab0c2e7d8394..04b4750b87bdbe63a4a00781f45a2806a37c4a49 100644
(file)
--- a/
compat/msvc.h
+++ b/
compat/msvc.h
@@
-18,6
+18,8
@@
#undef ERROR
+typedef int sigset_t;
+
#include "compat/mingw.h"
#endif