Skip to content

Commit

Permalink
Fix for windows build (hide ma_send function by #ifndef _WIN32)
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Mar 2, 2016
1 parent 0a187a0 commit 05eeef7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/pvio/pvio_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ size_t pvio_socket_async_read(MARIADB_PVIO *pvio, uchar *buffer, size_t length)
#endif
return r;
}
/* }}} */

#ifndef _WIN32
ssize_t ma_send(int socket, const uchar *buffer, size_t length, int flags)
{
ssize_t r;
Expand All @@ -342,7 +344,7 @@ ssize_t ma_send(int socket, const uchar *buffer, size_t length, int flags)
#endif
return r;
}
/* }}} */
#endif

/* {{{ pvio_socket_async_write */
/*
Expand Down

0 comments on commit 05eeef7

Please sign in to comment.