Commit | Line | Data |
---|---|---|
b1b2de81 C |
1 | // -ifdef_to_if doesn't convert this ifdef |
2 | ||
3 | ssize_t __net_Write( vlc_object_t *p_this, int fd, const v_socket_t *p_vs, | |
4 | const uint8_t *p_data, size_t i_data ) | |
5 | { | |
6 | if (p_vs != NULL) | |
7 | val = p_vs->pf_send (p_vs->p_sys, p_data, i_data); | |
8 | else | |
9 | #ifdef WIN32 | |
10 | val = send (fd, p_data, i_data, 0); | |
11 | #else | |
12 | val = write (fd, p_data, i_data); | |
13 | #endif | |
14 | } |