diff options
| author | Gleb Smirnoff <glebius@nginx.com> | 2013-07-05 11:42:25 +0400 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@nginx.com> | 2013-07-05 11:42:25 +0400 |
| commit | 050f74b751c10eeb2491ec6509d0508a7e690209 (patch) | |
| tree | e9541351fa0778e383207a261dfcf6be7d19fe92 /src/os/win32/ngx_win32_config.h | |
| parent | 523191ec89a11f3ffc81f6b6b710f46f86fa33d0 (diff) | |
| download | nginx-050f74b751c10eeb2491ec6509d0508a7e690209.tar.gz nginx-050f74b751c10eeb2491ec6509d0508a7e690209.tar.bz2 | |
Make macros safe.
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
| -rw-r--r-- | src/os/win32/ngx_win32_config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index 3f3b3e3fa..623569855 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -142,11 +142,11 @@ typedef int sig_atomic_t; #define NGX_PTR_SIZE 4 -#define NGX_SIZE_T_LEN sizeof("-2147483648") - 1 +#define NGX_SIZE_T_LEN (sizeof("-2147483648") - 1) #define NGX_MAX_SIZE_T_VALUE 2147483647 -#define NGX_TIME_T_LEN sizeof("-2147483648") - 1 +#define NGX_TIME_T_LEN (sizeof("-2147483648") - 1) #define NGX_TIME_T_SIZE 4 -#define NGX_OFF_T_LEN sizeof("-9223372036854775807") - 1 +#define NGX_OFF_T_LEN (sizeof("-9223372036854775807") - 1) #define NGX_MAX_OFF_T_VALUE 9223372036854775807 #define NGX_SIG_ATOMIC_T_SIZE 4 |
