From 25c393a12ea7264f265f958027d6e0a1735acc77 Mon Sep 17 00:00:00 2001 From: "monty@mashka.mysql.fi" <> Date: Tue, 21 Jan 2003 21:07:59 +0200 Subject: Portability fixes (for windows) Some changes to the prepared statement protocol to make it easier to use and faster. --- include/violite.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/violite.h') diff --git a/include/violite.h b/include/violite.h index b8bfb2183a2..579043dcffa 100644 --- a/include/violite.h +++ b/include/violite.h @@ -216,6 +216,7 @@ enum SSL_type SSL_TYPE_SPECIFIED }; + #ifndef EMBEDDED_LIBRARY /* This structure is for every connection on both sides */ struct st_vio @@ -233,7 +234,7 @@ struct st_vio void (*viodelete)(Vio*); int (*vioerrno)(Vio*); int (*read)(Vio*, gptr, int); - int (*write)(Vio*, gptr, int); + int (*write)(Vio*, const gptr, int); int (*vioblocking)(Vio*, my_bool, my_bool *); my_bool (*is_blocking)(Vio*); int (*viokeepalive)(Vio*, my_bool); -- cgit v1.2.1