Skip to content

Commit 47f0a2d

Browse files
committed
Merge #66: msvc: remove direct Bitcoin Core compat.h include
64f1758 msvc: remove Core compat.h include (fanquake) Pull request description: 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, and will pull a subtree update if this is merged. See: https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#ssize_t ACKs for top commit: sipa: ACK 64f1758 Tree-SHA512: 02ff3284444a0f2ed4035b05ae9690c9dd8ae374a74d6567463bbbf58d1a3e7f6dfeda3f37b23e5275567d88cdb43daa2dde264a68dfb7d723832b37b51caf95
2 parents a223557 + 64f1758 commit 47f0a2d

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)