|
|
| version 1.6, 2025/03/24 02:55:26 | version 1.7, 2025/03/24 02:56:15 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.7 2025/03/24 02:56:15 snw | |
| * Socket I/O compat fixes for OS/2 | |
| * | |
| * Revision 1.6 2025/03/24 02:55:26 snw | * Revision 1.6 2025/03/24 02:55:26 snw |
| * Socket I/O compat fixes for OS/2 | * Socket I/O compat fixes for OS/2 |
| * | * |
| Line 285 short msck_connect (int channel) | Line 288 short msck_connect (int channel) |
| short msck_write (int channel, char *buf, short length) | short msck_write (int channel, char *buf, short length) |
| { | { |
| #if !defined(MSDOS) | #if !defined(MSDOS) && !defined(__OS2__) |
| ssize_t ct; | ssize_t ct; |
| short i = channel + FIRSTSCK; | short i = channel + FIRSTSCK; |
| Line 320 short msck_write (int channel, char *buf | Line 323 short msck_write (int channel, char *buf |
| short msck_read (int channel, char *buf, long sck_timeout, short sck_timeoutms, short length) | short msck_read (int channel, char *buf, long sck_timeout, short sck_timeoutms, short length) |
| { | { |
| #if !defined(MSDOS) | #if !defined(MSDOS) && !defined(__OS2__) |
| fd_set fds; | fd_set fds; |
| short i; | short i; |
| struct timeval t; | struct timeval t; |
| Line 424 read_done: | Line 427 read_done: |
| short msck_close (int channel) | short msck_close (int channel) |
| { | { |
| #if !defined(MSDOS) | #if !defined(MSDOS) && !defined(__OS2__) |
| short i = channel + FIRSTSCK; | short i = channel + FIRSTSCK; |