Mercurial > hg > nginx-quic
comparison auto/unix @ 2598:87e739049e93
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Mar 2009 20:26:33 +0000 |
parents | 2e91aecb9e57 |
children | af0eaf409225 |
comparison
equal
deleted
inserted
replaced
2597:86967878cd76 | 2598:87e739049e93 |
---|---|
188 | 188 |
189 ngx_feature='mmap("/dev/zero", MAP_SHARED)' | 189 ngx_feature='mmap("/dev/zero", MAP_SHARED)' |
190 ngx_feature_name="NGX_HAVE_MAP_DEVZERO" | 190 ngx_feature_name="NGX_HAVE_MAP_DEVZERO" |
191 ngx_feature_run=yes | 191 ngx_feature_run=yes |
192 ngx_feature_incs="#include <sys/mman.h> | 192 ngx_feature_incs="#include <sys/mman.h> |
193 #include <sys/stat.h> | 193 #include <sys/stat.h> |
194 #include <fcntl.h>" | 194 #include <fcntl.h>" |
195 ngx_feature_path= | 195 ngx_feature_path= |
196 ngx_feature_libs= | 196 ngx_feature_libs= |
197 ngx_feature_test='void *p; int fd; | 197 ngx_feature_test='void *p; int fd; |
198 fd = open("/dev/zero", O_RDWR); | 198 fd = open("/dev/zero", O_RDWR); |
199 p = mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); | 199 p = mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); |
203 | 203 |
204 ngx_feature="System V shared memory" | 204 ngx_feature="System V shared memory" |
205 ngx_feature_name="NGX_HAVE_SYSVSHM" | 205 ngx_feature_name="NGX_HAVE_SYSVSHM" |
206 ngx_feature_run=yes | 206 ngx_feature_run=yes |
207 ngx_feature_incs="#include <sys/ipc.h> | 207 ngx_feature_incs="#include <sys/ipc.h> |
208 #include <sys/shm.h>" | 208 #include <sys/shm.h>" |
209 ngx_feature_path= | 209 ngx_feature_path= |
210 ngx_feature_libs= | 210 ngx_feature_libs= |
211 ngx_feature_test="int id; | 211 ngx_feature_test="int id; |
212 id = shmget(IPC_PRIVATE, 4096, (SHM_R|SHM_W|IPC_CREAT)); | 212 id = shmget(IPC_PRIVATE, 4096, (SHM_R|SHM_W|IPC_CREAT)); |
213 if (id == -1) return 1; | 213 if (id == -1) return 1; |
227 | 227 |
228 ngx_feature="ioctl(FIONBIO)" | 228 ngx_feature="ioctl(FIONBIO)" |
229 ngx_feature_name="NGX_HAVE_FIONBIO" | 229 ngx_feature_name="NGX_HAVE_FIONBIO" |
230 ngx_feature_run=no | 230 ngx_feature_run=no |
231 ngx_feature_incs="#include <sys/ioctl.h> | 231 ngx_feature_incs="#include <sys/ioctl.h> |
232 $NGX_INCLUDE_SYS_FILIO_H" | 232 $NGX_INCLUDE_SYS_FILIO_H" |
233 ngx_feature_path= | 233 ngx_feature_path= |
234 ngx_feature_libs= | 234 ngx_feature_libs= |
235 ngx_feature_test="int i; i = FIONBIO" | 235 ngx_feature_test="int i; i = FIONBIO" |
236 . auto/feature | 236 . auto/feature |
237 | 237 |