Mercurial > hg > nginx
changeset 1193:ec909315dfb0
fix building by owc12
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 05 May 2007 05:50:41 +0000 |
parents | 942e241c3b88 |
children | 8ea6caa62c89 |
files | src/os/win32/ngx_atomic.h |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/win32/ngx_atomic.h Sat May 05 05:40:29 2007 +0000 +++ b/src/os/win32/ngx_atomic.h Sat May 05 05:50:41 2007 +0000 @@ -45,7 +45,13 @@ #define ngx_memory_barrier() -#ifdef __BORLANDC__ +#if defined( __BORLANDC__ ) || ( __WATCOMC__ < 1230 ) + +/* + * Borland C++ 5.5 (tasm32) and Open Watcom C prior to 1.3 + * do not understand the "pause" instruction + */ + #define ngx_cpu_pause() #else #define ngx_cpu_pause() __asm { pause }