Mercurial > hg > nginx
diff src/os/unix/ngx_freebsd_config.h @ 189:c966c09be66b
nginx-0.0.1-2003-11-18-19:49:00 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 18 Nov 2003 16:49:00 +0000 |
parents | d5f50cefc322 |
children | 02a715e85df1 |
line wrap: on
line diff
--- a/src/os/unix/ngx_freebsd_config.h +++ b/src/os/unix/ngx_freebsd_config.h @@ -33,11 +33,13 @@ typedef u_int32_t uintptr_t; #endif +/* TODO: autoconf ??? */ #if __FreeBSD_version < 330002 /* exactly */ typedef uint32_t socklen_t; #endif +/* TODO: autoconf */ #if (i386) #define OFF_FMT "%lld" @@ -52,7 +54,7 @@ typedef uint32_t socklen_t; #endif -#define TIME_FMT "%lu" +#define TIME_FMT "%ld" #define PID_FMT "%d" #define RLIM_FMT "%lld" @@ -91,8 +93,8 @@ typedef uint32_t socklen_t; /* STUB */ -#define HAVE_PREAD 1 -#define HAVE_PWRITE 1 +#define HAVE_PREAD 0 +#define HAVE_PWRITE 0 #define HAVE_LOCALTIME_R 1