make gcc -ansi compatible
This commit is contained in:
parent
10ab3bf70a
commit
3a05576274
4
socket.h
4
socket.h
@ -55,8 +55,8 @@ int socket_mcloop6(int s,char loop);
|
||||
* no data available. So far, DATAIN is supported on FreeBSD and Linux,
|
||||
* and HTTPIN is supported on FreeBSD. */
|
||||
enum defermode {
|
||||
DATAIN, // only signal accept() if there is data coming in
|
||||
HTTPIN, // only signal accept() if a HTTP header has come in
|
||||
DATAIN, /* only signal accept() if there is data coming in */
|
||||
HTTPIN, /* only signal accept() if a HTTP header has come in */
|
||||
};
|
||||
|
||||
void socket_deferaccept(int s,enum defermode mode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user