need to use own constants now

master
Felix von Leitner 2 years ago
parent ed984eb886
commit 53db030fd0

@ -8,5 +8,5 @@
#include "socket.h"
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
return socket_accept4_flags(s,ip,port,SOCK_NONBLOCK);
return socket_accept4_flags(s,ip,port,SOCKET_NONBLOCK);
}

@ -8,5 +8,5 @@
#include "socket.h"
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
return socket_accept4_flags(s,ip,port,SOCK_NONBLOCK | SOCK_CLOEXEC);
return socket_accept4_flags(s,ip,port,SOCKET_NONBLOCK | SOCKET_CLOEXEC);
}

@ -8,5 +8,5 @@
#include "socket.h"
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
return socket_accept4_flags(s,ip,port,SOCK_CLOEXEC);
return socket_accept4_flags(s,ip,port,SOCKET_CLOEXEC);
}

@ -8,5 +8,5 @@
#include "socket.h"
int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) {
return socket_accept6_flags(s,ip,port,scope_id,SOCK_NONBLOCK);
return socket_accept6_flags(s,ip,port,scope_id,SOCKET_NONBLOCK);
}

@ -8,5 +8,5 @@
#include "socket.h"
int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) {
return socket_accept6_flags(s,ip,port,scope_id,SOCK_NONBLOCK | SOCK_CLOEXEC);
return socket_accept6_flags(s,ip,port,scope_id,SOCKET_NONBLOCK | SOCKET_CLOEXEC);
}

@ -8,5 +8,5 @@
#include "socket.h"
int socket_accept6_makenonblocking(int s,char *ip,uint16 *port,uint32* scope_id) {
return socket_accept6_flags(s,ip,port,scope_id,SOCK_CLOEXEC);
return socket_accept6_flags(s,ip,port,scope_id,SOCKET_CLOEXEC);
}

Loading…
Cancel
Save