comparison src/os/win32/ngx_atomic.h @ 3165:7658e9c7e814

use parents around NGX_ATOMIC_T_LEN value
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Sep 2009 20:25:47 +0000
parents ec909315dfb0
children d620f497c50f
comparison
equal deleted inserted replaced
3164:b1b1775698d5 3165:7658e9c7e814
15 #define NGX_HAVE_ATOMIC_OPS 1 15 #define NGX_HAVE_ATOMIC_OPS 1
16 16
17 typedef int32_t ngx_atomic_int_t; 17 typedef int32_t ngx_atomic_int_t;
18 typedef uint32_t ngx_atomic_uint_t; 18 typedef uint32_t ngx_atomic_uint_t;
19 typedef volatile ngx_atomic_uint_t ngx_atomic_t; 19 typedef volatile ngx_atomic_uint_t ngx_atomic_t;
20 #define NGX_ATOMIC_T_LEN sizeof("-2147483648") - 1 20 #define NGX_ATOMIC_T_LEN (sizeof("-2147483648") - 1)
21 21
22 22
23 #if defined( __WATCOMC__ ) || defined( __BORLANDC__ ) || ( _MSC_VER >= 1300 ) 23 #if defined( __WATCOMC__ ) || defined( __BORLANDC__ ) || ( _MSC_VER >= 1300 )
24 24
25 /* the new SDK headers */ 25 /* the new SDK headers */