mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 13:50:00 -04:00
Merge branch '732-fix-compilation-on-centos-6-i386' into 'master'
Fix compilation on CentOS 6 (i386) Closes #732 See merge request isc-projects/bind9!1129
This commit is contained in:
commit
bf519a3574
1 changed files with 3 additions and 1 deletions
|
|
@ -44,9 +44,11 @@
|
|||
#if defined(_MSC_VER)
|
||||
# include <intrin.h>
|
||||
# define isc_rwlock_pause() YieldProcessor()
|
||||
#elif defined(__x86_64__) || defined(__i386__)
|
||||
#elif defined(__x86_64__)
|
||||
# include <immintrin.h>
|
||||
# define isc_rwlock_pause() _mm_pause()
|
||||
#elif defined(__i386__)
|
||||
# define isc_rwlock_pause() __asm__ __volatile__ ("rep; nop")
|
||||
#elif defined(__ia64__)
|
||||
# define isc_rwlock_pause() __asm__ __volatile__ ("hint @pause")
|
||||
#elif defined(__arm__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue