Commit bf519a35 authored by Michał Kępień's avatar Michał Kępień
Browse files

Merge branch '732-fix-compilation-on-centos-6-i386' into 'master'

Fix compilation on CentOS 6 (i386)

Closes #732

See merge request !1129
parents 7e4ed9f8 62ca7743
Pipeline #7252 failed with stages
in 14 minutes and 17 seconds
...@@ -44,9 +44,11 @@ ...@@ -44,9 +44,11 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
# include <intrin.h> # include <intrin.h>
# define isc_rwlock_pause() YieldProcessor() # define isc_rwlock_pause() YieldProcessor()
#elif defined(__x86_64__) || defined(__i386__) #elif defined(__x86_64__)
# include <immintrin.h> # include <immintrin.h>
# define isc_rwlock_pause() _mm_pause() # define isc_rwlock_pause() _mm_pause()
#elif defined(__i386__)
# define isc_rwlock_pause() __asm__ __volatile__ ("rep; nop")
#elif defined(__ia64__) #elif defined(__ia64__)
# define isc_rwlock_pause() __asm__ __volatile__ ("hint @pause") # define isc_rwlock_pause() __asm__ __volatile__ ("hint @pause")
#elif defined(__arm__) #elif defined(__arm__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment