centralize definition of BITS_PER_LONG
[urcu.git] / urcu / uatomic_arch_s390.h
index 5942ffe46bf81220383ab36757dc1628274915e0..0a0f2381835542e16216421657de8b755f2b0e42 100644 (file)
 extern "C" {
 #endif 
 
-#ifndef __SIZEOF_LONG__
-#ifdef __s390x__
-#define __SIZEOF_LONG__ 8
-#else
-#define __SIZEOF_LONG__ 4
-#endif
-#endif
-
-#ifndef BITS_PER_LONG
-#define BITS_PER_LONG  (__SIZEOF_LONG__ * 8)
-#endif
-
 #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
 #define COMPILER_HAVE_SHORT_MEM_OPERAND
 #endif
This page took 0.023808 seconds and 4 git commands to generate.