aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r--src/os/unix/ngx_freebsd_config.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h
index a045a1d07..8a2f55e2f 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -27,18 +27,6 @@
#include <osreldate.h>
-/* TODO: autoconf */
-#if __FreeBSD_version < 300007
-typedef u_int64_t uint64_t;
-typedef u_int32_t uintptr_t;
-#endif
-
-
-/* TODO: autoconf ??? */
-#if __FreeBSD_version < 330002 /* exactly */
-typedef uint32_t socklen_t;
-#endif
-
/* TODO: autoconf */
#if (i386)
@@ -55,7 +43,9 @@ typedef uint32_t socklen_t;
#endif
+#if 0
#define TIME_FMT "%ld"
+#endif
#define PID_FMT "%d"
#define RLIM_FMT "%lld"