win32: provide a uint8_t typedef for better building on windows

This commit is contained in:
Grubsky Grigory 2010-05-25 23:22:39 +02:00 committed by Daniel Stenberg
parent 76fd96e63e
commit dc747fb221

View File

@ -41,6 +41,7 @@
#define LIBSSH2_PRIV_H 1
#ifdef _WIN32
typedef unsigned __int8 uint8_t;
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif /* _CRT_SECURE_NO_DEPRECATE */