mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	use the correct #if condition for strtoll(), pointed out in bug report
This commit is contained in:
		@@ -881,7 +881,7 @@ struct _LIBSSH2_SESSION
 | 
				
			|||||||
    unsigned char scpRecv_response[LIBSSH2_SCP_RESPONSE_BUFLEN];
 | 
					    unsigned char scpRecv_response[LIBSSH2_SCP_RESPONSE_BUFLEN];
 | 
				
			||||||
    unsigned long scpRecv_response_len;
 | 
					    unsigned long scpRecv_response_len;
 | 
				
			||||||
    long scpRecv_mode;
 | 
					    long scpRecv_mode;
 | 
				
			||||||
#if defined(HAVE_LONGLONG) && defined(strtoll)
 | 
					#if defined(HAVE_LONGLONG) && defined(HAVE_STRTOLL)
 | 
				
			||||||
    /* we have the type and we can parse such numbers */
 | 
					    /* we have the type and we can parse such numbers */
 | 
				
			||||||
    long long scpRecv_size;
 | 
					    long long scpRecv_size;
 | 
				
			||||||
#define scpsize_strtol strtoll
 | 
					#define scpsize_strtol strtoll
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user