this is MSVC specific and doesnt apply for all Win32 compilers;
the uint8_t typedef clashes with MingW32 headers.
This commit is contained in:
parent
4d7b2950d9
commit
8ff3f62786
@ -40,12 +40,12 @@
|
|||||||
#ifndef LIBSSH2_PRIV_H
|
#ifndef LIBSSH2_PRIV_H
|
||||||
#define LIBSSH2_PRIV_H 1
|
#define LIBSSH2_PRIV_H 1
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _MSC_VER
|
||||||
typedef unsigned __int8 uint8_t;
|
typedef unsigned __int8 uint8_t;
|
||||||
#ifndef _CRT_SECURE_NO_DEPRECATE
|
#ifndef _CRT_SECURE_NO_DEPRECATE
|
||||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||||
#endif /* _CRT_SECURE_NO_DEPRECATE */
|
#endif /* _CRT_SECURE_NO_DEPRECATE */
|
||||||
#endif /* WIN32 */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
#define LIBSSH2_LIBRARY
|
#define LIBSSH2_LIBRARY
|
||||||
#include "libssh2_config.h"
|
#include "libssh2_config.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user