From 8ff3f627861eeaf9582c2e2045d9300eba712d84 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 1 Jun 2010 17:15:46 +0200 Subject: [PATCH] this is MSVC specific and doesnt apply for all Win32 compilers; the uint8_t typedef clashes with MingW32 headers. --- src/libssh2_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libssh2_priv.h b/src/libssh2_priv.h index ec4a921a..ba0f8832 100644 --- a/src/libssh2_priv.h +++ b/src/libssh2_priv.h @@ -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"