aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-11 15:28:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-11 15:28:34 +0000
commit239baac646073cab7bbaf537ba2d6ca844f2c992 (patch)
treec7c3f61213697a68dc95898d27a730c08abce049 /src/os/unix/ngx_freebsd_config.h
parente4a2526e5ccd4f3f5f160656c1a7b6f865ac44c8 (diff)
downloadnginx-239baac646073cab7bbaf537ba2d6ca844f2c992.tar.gz
nginx-239baac646073cab7bbaf537ba2d6ca844f2c992.zip
nginx-0.0.1-2003-06-11-19:28:34 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r--src/os/unix/ngx_freebsd_config.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h
index 0a7eedd10..6fd0a694e 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -22,9 +22,22 @@
#include <osreldate.h>
-#define QD_FMT "%qd"
-#define QX_FMT "%qx"
-#define OFF_FMT "%qd"
+/* STUB */
+#define QD_FMT "%lld"
+#define QX_FMT "%llx"
+/**/
+
+#if (i386)
+#define OFF_FMT "%lld"
+#define SIZE_FMT "%d"
+#define SIZEX_FMT "%x"
+#else
+#define OFF_FMT "%ld"
+#define SIZE_FMT "%ld"
+#define SIZEX_FMT "%lx"
+#endif
+
+#define PID_FMT "%d"
#ifndef HAVE_SELECT