diff src/core/ngx_config.h @ 33:b2e039840718

nginx-0.0.1-2002-12-19-20:49:51 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Dec 2002 17:49:51 +0000
parents 6a0b3d6e9c13
children c14d7232b11f
line wrap: on
line diff
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -52,6 +52,23 @@
 
 #else /* POSIX */
 
+
+
+/* Solaris */
+#if defined(sun) && (defined(__svr4__) || defined(__SVR4))
+
+#define SOLARIS  1
+
+#define _FILE_OFFSET_BITS  64  /* should be before sys/types.h */
+
+#ifndef HAVE_INHERITED_NONBLOCK
+#define HAVE_INHERITED_NONBLOCK  1
+#endif
+
+#endif /* Solaris */
+
+
+
 #include <unistd.h>
 #include <stddef.h>    /* offsetof */
 #include <stdlib.h>