centralize definition of BITS_PER_LONG
[urcu.git] / urcu / uatomic_arch_sparc64.h
index 81f95cbe91ac641aacdce2e5e2f450a9cf1ec41f..399ac120a5a64e37874845801e9d645bd4d26638 100644 (file)
 extern "C" {
 #endif 
 
-#ifndef __SIZEOF_LONG__
-#ifdef __LP64__
-#define __SIZEOF_LONG__ 8
-#else
-#define __SIZEOF_LONG__ 4
-#endif
-#endif
-
-#ifndef BITS_PER_LONG
-#define BITS_PER_LONG  (__SIZEOF_LONG__ * 8)
-#endif
-
 /* cmpxchg */
 
 static inline __attribute__((always_inline))
This page took 0.022023 seconds and 4 git commands to generate.