diff options
Diffstat (limited to 'src/os/unix')
-rw-r--r-- | src/os/unix/ngx_files.c | 1 | ||||
-rw-r--r-- | src/os/unix/ngx_types.h | 15 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/os/unix/ngx_files.c b/src/os/unix/ngx_files.c index 5058bac34..7a5caa507 100644 --- a/src/os/unix/ngx_files.c +++ b/src/os/unix/ngx_files.c @@ -1,4 +1,5 @@ +#include <ngx_config.h> #include <ngx_core.h> #include <ngx_file.h> diff --git a/src/os/unix/ngx_types.h b/src/os/unix/ngx_types.h index ba00950b0..9919e90c4 100644 --- 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_ */ |