Skip to content

Commit f9b4594

Browse files
committed
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 <[email protected]>
1 parent 86d49cc commit f9b4594

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compat/msvc.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,12 @@ static __inline int strcasecmp (const char *s1, const char *s2)
2828

2929
#undef ERROR
3030

31-
#ifdef _MSC_VER
3231
#define ftello _ftelli64
3332

3433
typedef int sigset_t;
3534
/* open for reading, writing, or both (not in fcntl.h) */
3635
#define O_ACCMODE (_O_RDONLY | _O_WRONLY | _O_RDWR)
3736

38-
#endif
39-
4037
#include "compat/mingw.h"
4138

4239
#endif

0 commit comments

Comments
 (0)