Commit 987c81b8 authored by Ghislain MARY's avatar Ghislain MARY

Fix build on Windows.

parent 07d0caf9
......@@ -38,6 +38,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define bctoolbox_error printf
#ifdef _WIN32
#define snprintf _snprintf
#endif
static int bctoolbox_ssl_sendrecv_callback_return_remap(int32_t ret_code) {
switch (ret_code) {
case BCTOOLBOX_ERROR_NET_WANT_READ:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment