1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

Fix compiler warnings appearing with VS2008. Based on Steven Van Ingelgem's

patch in #2787839 with a bunch of additional edits by yours truly.
This commit is contained in:
Daniel Stenberg
2009-07-07 13:44:17 +02:00
parent acbdbb8914
commit 0751067c2f
3 changed files with 22 additions and 13 deletions

View File

@@ -39,6 +39,12 @@
#ifndef LIBSSH2_PRIV_H
#define LIBSSH2_PRIV_H 1
#ifdef _WIN32
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif /* _CRT_SECURE_NO_DEPRECATE */
#endif /* WIN32 */
#define LIBSSH2_LIBRARY
#include "libssh2_config.h"