mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-21 14:00:51 +03:00
cpp: s/#elsif/#elif
This looks like a typo as #elsif is not really C...
This commit is contained in:
@@ -100,7 +100,7 @@ _libssh2_recv(libssh2_socket_t sock, void *buffer, size_t length, int flags)
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (rc < 0 )
|
if (rc < 0 )
|
||||||
return -wsa2errno();
|
return -wsa2errno();
|
||||||
#elsif defined(__VMS)
|
#elif defined(__VMS)
|
||||||
if (rc < 0 ){
|
if (rc < 0 ){
|
||||||
if ( errno == EWOULDBLOCK )
|
if ( errno == EWOULDBLOCK )
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
@@ -126,7 +126,7 @@ _libssh2_send(libssh2_socket_t sock, const void *buffer, size_t length,
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (rc < 0 )
|
if (rc < 0 )
|
||||||
return -wsa2errno();
|
return -wsa2errno();
|
||||||
#elsif defined(__VMS)
|
#elif defined(__VMS)
|
||||||
if (rc < 0 ) {
|
if (rc < 0 ) {
|
||||||
if ( errno == EWOULDBLOCK )
|
if ( errno == EWOULDBLOCK )
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
|
|||||||
Reference in New Issue
Block a user