this is MSVC specific and doesnt apply for all Win32 compilers;

the uint8_t typedef clashes with MingW32 headers.
This commit is contained in:
Guenter Knauf 2010-06-01 17:15:46 +02:00
parent 4d7b2950d9
commit 8ff3f62786

View File

@ -40,12 +40,12 @@
#ifndef LIBSSH2_PRIV_H
#define LIBSSH2_PRIV_H 1
#ifdef _WIN32
#ifdef _MSC_VER
typedef unsigned __int8 uint8_t;
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif /* _CRT_SECURE_NO_DEPRECATE */
#endif /* WIN32 */
#endif /* _MSC_VER */
#define LIBSSH2_LIBRARY
#include "libssh2_config.h"