| 48 | } |
| 49 | |
| 50 | ssize_t plat_send(int fd, const void *buf, size_t len, int flags) { |
| 51 | #ifdef FL_IS_WIN |
| 52 | return fl::send(fd, buf, len, flags); |
| 53 | #else |
| 54 | return ::send(fd, buf, len, flags); |
| 55 | #endif |
| 56 | } |
| 57 | |
| 58 | ssize_t plat_recv(int fd, void *buf, size_t len, int flags) { |
| 59 | #ifdef FL_IS_WIN |