Mercurial > hg > nginx
changeset 7163:fc0d06224eda
Removed unused FreeBSD-specific definitions in ngx_posix_config.h.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 28 Nov 2017 13:09:54 +0300 |
parents | 8b84d60ef13d |
children | 044cb349fd3c |
files | src/os/unix/ngx_posix_config.h |
diffstat | 1 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_posix_config.h Tue Nov 28 12:00:24 2017 +0300 +++ b/src/os/unix/ngx_posix_config.h Tue Nov 28 13:09:54 2017 +0300 @@ -145,26 +145,6 @@ #define ngx_debug_init() -#if (__FreeBSD__) && (__FreeBSD_version < 400017) - -#include <sys/param.h> /* ALIGN() */ - -/* - * FreeBSD 3.x has no CMSG_SPACE() and CMSG_LEN() and has the broken CMSG_DATA() - */ - -#undef CMSG_SPACE -#define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l)) - -#undef CMSG_LEN -#define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l)) - -#undef CMSG_DATA -#define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) - -#endif - - extern char **environ;