mirror of
https://github.com/git/git.git
synced 2026-01-31 13:03:13 +00:00
fixup! msvc: include sigset_t definition
In the MSVC-specific header, it makes no sense to guard anything behind the _MSC_VER tell-tale that indicates whether we are compiling with MSVC... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Johannes Schindelin
parent
86d49ccac7
commit
f9b4594791
@@ -28,15 +28,12 @@ static __inline int strcasecmp (const char *s1, const char *s2)
|
||||
|
||||
#undef ERROR
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define ftello _ftelli64
|
||||
|
||||
typedef int sigset_t;
|
||||
/* open for reading, writing, or both (not in fcntl.h) */
|
||||
#define O_ACCMODE (_O_RDONLY | _O_WRONLY | _O_RDWR)
|
||||
|
||||
#endif
|
||||
|
||||
#include "compat/mingw.h"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user