diff src/os/unix/ngx_atomic.h @ 940:ca9fe5ae412b

test Darwin 8 atomic(3)
author Igor Sysoev <igor@sysoev.ru>
date Fri, 22 Dec 2006 12:54:08 +0000
parents 782cf4c13b8d
children 63fa39cf8bd0 b766d9c0a2be
line wrap: on
line diff
--- a/src/os/unix/ngx_atomic.h
+++ b/src/os/unix/ngx_atomic.h
@@ -12,11 +12,11 @@
 #include <ngx_core.h>
 
 
-#if (NGX_DARWIN)
+#if (NGX_DARWIN_ATOMIC)
 
 /*
- * use MacOSX atomic(3) and barrier(3) operations
- * optimized at run time for UP and SMP
+ * use Darwin 8 atomic(3) and barrier(3) operations
+ * optimized at run-time for UP and SMP
  */
 
 #include <libkern/OSAtomic.h>