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:
Johannes Schindelin
2017-01-25 10:53:49 +01:00
committed by Johannes Schindelin
parent 86d49ccac7
commit f9b4594791

View File

@@ -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