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
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-29 21:43:58 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-03-29 21:43:58 +0400
commit11dbe97ca401221313dc233aa2d6f67dfcaef1a7 (patch)
treefcd53429592c68f6fdf8d3ad4b0c151b9ebd5ff3 /src/core/ngx_config.h
parent14f02ed0dde2ee19da75cd836daf76505d7f2e9c (diff)
nginx-0.0.3-2004-03-29-21:43:58 import
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r--src/core/ngx_config.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index e56edc9ac..eb3cacbe8 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -9,16 +9,22 @@
#endif
-#if defined __FreeBSD__
+#if defined __DragonFly__ && !defined(__FreeBSD__)
+#define __FreeBSD__ 4
+#define __FreeBSD_version 480101
+#endif
+
+
+#if defined (__FreeBSD__)
#include <ngx_freebsd_config.h>
-#elif defined __linux__
+#elif defined (__linux__)
#include <ngx_linux_config.h>
/* Solaris */
-#elif defined(sun) && (defined(__svr4__) || defined(__SVR4))
+#elif defined (sun) && (defined (__svr4__) || defined (__SVR4))
#include <ngx_solaris_config.h>