summaryrefslogtreecommitdiffhomepage
path: root/src/os
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-01-10 06:09:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-01-10 06:09:20 +0000
commitb2620634c5c395f227a98837f46e1eaf6b86963c (patch)
treed9333eef73b09e7351cdc8705df984786a5544b3 /src/os
parent4e9393a0548d783cd6f50d1fcd003c85a24b2b16 (diff)
downloadnginx-b2620634c5c395f227a98837f46e1eaf6b86963c.tar.gz
nginx-b2620634c5c395f227a98837f46e1eaf6b86963c.tar.bz2
nginx-0.0.1-2003-01-10-09:09:20 import
Diffstat (limited to 'src/os')
-rw-r--r--src/os/unix/ngx_errno.h1
-rw-r--r--src/os/win32/ngx_types.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index 8567440cb..0c8bfa0e2 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -9,6 +9,7 @@ typedef int ngx_err_t;
#define NGX_ENOENT ENOENT
#define NGX_EINTR EINTR
+#define NGX_ENOTDIR ENOTDIR
#define NGX_EAGAIN EWOULDBLOCK
#define NGX_EINPROGRESS EINPROGRESS
#define NGX_EADDRINUSE EADDRINUSE
diff --git a/src/os/win32/ngx_types.h b/src/os/win32/ngx_types.h
index 0b513830c..c9e7415f2 100644
--- a/src/os/win32/ngx_types.h
+++ b/src/os/win32/ngx_types.h
@@ -8,6 +8,9 @@
typedef int ssize_t;
typedef long time_t;
+typedef unsigned __int32 u_int32_t;
+
+
#define QD_FMT "%I64d"
#define QX_FMT "%I64x"