--- freem/src/io_socket.c 2025/03/22 18:43:54 1.4 +++ freem/src/io_socket.c 2025/03/24 02:55:26 1.6 @@ -1,5 +1,5 @@ /* - * $Id: io_socket.c,v 1.4 2025/03/22 18:43:54 snw Exp $ + * $Id: io_socket.c,v 1.6 2025/03/24 02:55:26 snw Exp $ * socket i/o support * * @@ -24,6 +24,12 @@ * along with FreeM. If not, see . * * $Log: io_socket.c,v $ + * Revision 1.6 2025/03/24 02:55:26 snw + * Socket I/O compat fixes for OS/2 + * + * Revision 1.5 2025/03/24 02:54:11 snw + * Socket I/O compat fixes for OS/2 + * * Revision 1.4 2025/03/22 18:43:54 snw * Make STRLEN 255 chars and add BIGSTR macro for larger buffers * @@ -82,7 +88,7 @@ io_socket *io_sockets[MAXSCK]; addr_string: server:port[:family:[udp|tcp]]*/ short msck_open (int channel, char *addr_string) { -#if !defined(MSDOS) +#if !defined(MSDOS) && !defined(__OS2__) char *addr = ""; char *port = ""; char *family = ""; @@ -241,7 +247,7 @@ short msck_open (int channel, char *addr short msck_connect (int channel) { -#if !defined(MSDOS) +#if !defined(MSDOS) && !defined(__OS2__) short i = channel + FIRSTSCK;