mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix building by owc12
This commit is contained in:
parent
d1e38e8788
commit
875893b846
@ -45,7 +45,13 @@ typedef volatile ngx_atomic_uint_t ngx_atomic_t;
|
|||||||
#define ngx_memory_barrier()
|
#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()
|
#define ngx_cpu_pause()
|
||||||
#else
|
#else
|
||||||
#define ngx_cpu_pause() __asm { pause }
|
#define ngx_cpu_pause() __asm { pause }
|
||||||
|
Loading…
Reference in New Issue
Block a user