comparison src/os/win32/ngx_atomic.h @ 1193:ec909315dfb0

fix building by owc12
author Igor Sysoev <igor@sysoev.ru>
date Sat, 05 May 2007 05:50:41 +0000
parents 3f8a2132b93d
children 7658e9c7e814
comparison
equal deleted inserted replaced
1192:942e241c3b88 1193:ec909315dfb0
43 43
44 44
45 #define ngx_memory_barrier() 45 #define ngx_memory_barrier()
46 46
47 47
48 #ifdef __BORLANDC__ 48 #if defined( __BORLANDC__ ) || ( __WATCOMC__ < 1230 )
49
50 /*
51 * Borland C++ 5.5 (tasm32) and Open Watcom C prior to 1.3
52 * do not understand the "pause" instruction
53 */
54
49 #define ngx_cpu_pause() 55 #define ngx_cpu_pause()
50 #else 56 #else
51 #define ngx_cpu_pause() __asm { pause } 57 #define ngx_cpu_pause() __asm { pause }
52 #endif 58 #endif
53 59