X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=arch_x86.h;h=e899684b56ddc50b9c43b506e6cb3ccdd6f254d0;hp=01b5d50bde8e174cd255a4270172b48bca55e784;hb=d2d2303563e2b260114bc0aa679d8c256eb0a43e;hpb=5e13fab888d07ba3657ac9e1eb0441450ea17837 diff --git a/arch_x86.h b/arch_x86.h index 01b5d50..e899684 100644 --- a/arch_x86.h +++ b/arch_x86.h @@ -29,7 +29,7 @@ #define CONFIG_HAVE_MEM_COHERENCY #ifndef BITS_PER_LONG -#define BITS_PER_LONG (sizeof(unsigned long) * 8) +#define BITS_PER_LONG (__SIZEOF_LONG__ * 8) #endif #ifdef CONFIG_HAVE_FENCE