X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Farch_x86.h;h=b3f29625142490530b3a813186bb094b069abdb5;hb=a44291d81fd9347fc495cd62ffe3daf3fa783269;hp=f137a16d841c48e3c663a645286137ffe2114a04;hpb=618c4ae180e1d9406bcad808cd0cb88addc992a1;p=urcu.git diff --git a/urcu/arch_x86.h b/urcu/arch_x86.h index f137a16..b3f2962 100644 --- a/urcu/arch_x86.h +++ b/urcu/arch_x86.h @@ -25,6 +25,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + #define CONFIG_HAVE_MEM_COHERENCY #define CACHE_LINE_SIZE 128 @@ -125,4 +129,8 @@ static inline cycles_t get_cycles(void) return ret; } +#ifdef __cplusplus +} +#endif + #endif /* _URCU_ARCH_X86_H */