Mercurial > hg > nginx-quic
comparison src/event/modules/ngx_eventport_module.c @ 1939:6e7daf852eec
restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 13 Mar 2008 15:47:14 +0000 |
parents | a62fb6c156c5 |
children | c7d57b539248 |
comparison
equal
deleted
inserted
replaced
1938:ed71d58c0cf3 | 1939:6e7daf852eec |
---|---|
37 | 37 |
38 typedef struct port_notify { | 38 typedef struct port_notify { |
39 int portnfy_port; /* bind request(s) to port */ | 39 int portnfy_port; /* bind request(s) to port */ |
40 void *portnfy_user; /* user defined */ | 40 void *portnfy_user; /* user defined */ |
41 } port_notify_t; | 41 } port_notify_t; |
42 | |
43 #if (__FreeBSD_version < 700005) | |
44 | |
45 typedef struct itimerspec { /* definition per POSIX.4 */ | |
46 struct timespec it_interval;/* timer period */ | |
47 struct timespec it_value; /* timer expiration */ | |
48 } itimerspec_t; | |
49 | |
50 #endif | |
42 | 51 |
43 int port_create(void) | 52 int port_create(void) |
44 { | 53 { |
45 return -1; | 54 return -1; |
46 } | 55 } |