X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fuatomic_arch_x86.h;fp=urcu%2Fuatomic_arch_x86.h;h=043e616d5e0e94abac9689959c0b2416c8ee4a61;hp=666e498f326c4c3b8ce025352b3f385416dbc32b;hb=1b27a7725e853b9f0673a0ed2639b8dc1065f21b;hpb=f152776dbd7d8cf072160d4d0229e1c3e4ea6f1c diff --git a/urcu/uatomic_arch_x86.h b/urcu/uatomic_arch_x86.h index 666e498..043e616 100644 --- a/urcu/uatomic_arch_x86.h +++ b/urcu/uatomic_arch_x86.h @@ -30,18 +30,6 @@ extern "C" { #endif -#ifndef __SIZEOF_LONG__ -#if defined(__x86_64__) || defined(__amd64__) -#define __SIZEOF_LONG__ 8 -#else -#define __SIZEOF_LONG__ 4 -#endif -#endif - -#ifndef BITS_PER_LONG -#define BITS_PER_LONG (__SIZEOF_LONG__ * 8) -#endif - /* * Derived from AO_compare_and_swap() and AO_test_and_set_full(). */