8000 patch libssh2 to work with vs2015 by maxkorp · Pull Request #1125 · nodegit/nodegit · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading< 8000 /span>
Diff view
Diff view
3 changes: 2 additions & 1 deletion vendor/libssh2/win32/libssh2_config.h
6991
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#define HAVE_SELECT

#ifdef _MSC_VER
#if _MSC_VER < 1900
#define snprintf _snprintf
#if _MSC_VER < 1500
#define vsnprintf _vsnprintf
Expand All @@ -33,10 +34,10 @@
#else
#define strncasecmp strnicmp
#define strcasecmp stricmp
#endif
#endif /* _MSC_VER */

/* Enable newer diffie-hellman-group-exchange-sha1 syntax */
#define LIBSSH2_DH_GEX_NEW 1

#endif /* LIBSSH2_CONFIG_H */

0