Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-11-28 13:09:54 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-11-28 13:09:54 +0300
commite3baa90da9ab749cf83fcf5772091679b3aa5ba5 (patch)
treeceb271dc6e47dab198111157744e033f66ab4f46 /src/os
parentafad21917584e9b452ba33ce3485edde5615b859 (diff)
Removed unused FreeBSD-specific definitions in ngx_posix_config.h.
Diffstat (limited to 'src/os')
-rw-r--r--src/os/unix/ngx_posix_config.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index 5d1358e24..2a8c413e0 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -145,26 +145,6 @@ typedef struct aiocb ngx_aiocb_t;
#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;