mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	this is MSVC specific and doesnt apply for all Win32 compilers;
the uint8_t typedef clashes with MingW32 headers.
This commit is contained in:
		@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user