Skip to content

Commit 64f1758

Browse files
committed
msvc: remove Core compat.h include
My (untested) assumption is that this was only being used for a ssize_t definition. Remove the include, and define ssize_t to SSIZE_T. I'm planning on making a similar change in the Core codebase. See: https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#ssize_t
1 parent a223557 commit 64f1758

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/minisketch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#include <stdlib.h>
66

77
#ifdef _MSC_VER
8-
# include <compat.h>
8+
# include <BaseTsd.h>
9+
typedef SSIZE_T ssize_t;
910
#else
1011
# include <unistd.h>
1112
#endif

0 commit comments

Comments
 (0)