win32: provide a uint8_t typedef for better building on windows
This commit is contained in:

committed by
Daniel Stenberg

parent
76fd96e63e
commit
dc747fb221
@@ -41,6 +41,7 @@
|
|||||||
#define LIBSSH2_PRIV_H 1
|
#define LIBSSH2_PRIV_H 1
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
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 */
|
||||||
|
Reference in New Issue
Block a user