diff src/os/unix/ngx_types.h @ 33:b2e039840718

nginx-0.0.1-2002-12-19-20:49:51 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Dec 2002 17:49:51 +0000
parents c5f071d376e5
children a499e0d1f16e
line wrap: on
line diff
--- a/src/os/unix/ngx_types.h
+++ b/src/os/unix/ngx_types.h
@@ -5,8 +5,19 @@
 #include <ngx_config.h>
 
 
-#define  QD_FMT  "%qd"
-#define  QX_FMT  "%qx"
+#ifdef SOLARIS
+
+#define  QD_FMT   "%lld"
+#define  QX_FMT   "%llx"
+#define  OFF_FMT  "%lld"
+
+#else
+
+#define  QD_FMT   "%qd"
+#define  QX_FMT   "%qx"
+#define  OFF_FMT  "%qd"
+
+#endif
 
 
 #endif /* _NGX_TYPES_H_INCLUDED_ */