mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 04:29:01 +08:00
24049959f2
* [nmap]Fix build error. * [nmap]Use msvc project to build. * [nmap]Re-fix ssize_t and fix linux build. * [nmap]Delete useless file.
17 lines
419 B
Diff
17 lines
419 B
Diff
diff --git a/libdnet-stripped/include/dnet/os.h b/libdnet-stripped/include/dnet/os.h
|
|
index 55a21b9..544ebd8 100644
|
|
--- a/libdnet-stripped/include/dnet/os.h
|
|
+++ b/libdnet-stripped/include/dnet/os.h
|
|
@@ -23,7 +23,11 @@
|
|
typedef u_short uint16_t;
|
|
typedef u_int uint32_t;
|
|
# ifndef __CYGWIN__
|
|
+#ifdef _WIN64
|
|
+ typedef __int64 ssize_t;
|
|
+#else
|
|
typedef long ssize_t;
|
|
+#endif
|
|
# endif
|
|
#else
|
|
# include <sys/param.h>
|