comparison src/os/unix/ngx_atomic.h @ 394:34fb3a573548 NGINX_0_7_8

nginx 0.7.8 *) Feature: the ngx_http_xslt_module. *) Feature: the "$arg_..." variables. *) Feature: Solaris directio support. Thanks to Ivan Debnar. *) Bugfix: now if FastCGI server sends a "Location" header line without status line, then nginx uses 302 status code. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Aug 2008 00:00:00 +0400
parents 95183808f549
children 4c5d2c627a6c
comparison
equal deleted inserted replaced
393:4ec606a899d3 394:34fb3a573548
19 * optimized at run-time for UP and SMP 19 * optimized at run-time for UP and SMP
20 */ 20 */
21 21
22 #include <libkern/OSAtomic.h> 22 #include <libkern/OSAtomic.h>
23 23
24 /* "bool" conflicts with perl's CORE/handy.h 24 /* "bool" conflicts with perl's CORE/handy.h */
25 * "true" and "false" conflict with nginx, and of course we can rename them,
26 * but we need to undef "bool" anyway
27 */
28 #undef bool 25 #undef bool
29 #undef true
30 #undef false
31 26
32 27
33 #define NGX_HAVE_ATOMIC_OPS 1 28 #define NGX_HAVE_ATOMIC_OPS 1
34 29
35 #if (NGX_PTR_SIZE == 8) 30 #if (NGX_PTR_SIZE == 8)