Mercurial > hg > nginx
view src/os/unix/ngx_linux.h @ 3396:2c5e269d0608
fix building by gcc 4.x with -O2/3/s in some Linux distributions:
dereferencing type-punned pointer will break strict-aliasing rules
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 22 Dec 2009 15:29:56 +0000 |
parents | 975f62e77f02 |
children | d620f497c50f |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_LINUX_H_INCLUDED_ #define _NGX_LINUX_H_INCLUDED_ ngx_chain_t *ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit); extern int ngx_linux_rtsig_max; #endif /* _NGX_LINUX_H_INCLUDED_ */