73 #ifdef PACKAGE_BUGREPORT 74 #undef PACKAGE_BUGREPORT 76 #ifdef PACKAGE_TARNAME 77 #undef PACKAGE_TARNAME 79 #ifdef PACKAGE_VERSION 80 #undef PACKAGE_VERSION 86 #include "shore-config.h" 102 #if W_DEBUG_LEVEL > 0 121 #if defined(_SC_V6_LP64_OFF64) || _XBS5_LP64_OFF64 || _SC_V6_LPBIG_OFFBIG || _XBS5_LPBIG_OFFBIG 123 #warning Turning off ARCH_LP64 132 #if _SC_V6_ILP32_OFFBIG || _XBS5_ILP32_OFFBIG 134 #warning large file off_t support seems to be missing accoring to sysconf ! 140 #if SM_PAGESIZE > 32768 * 8 141 #error SM does not support pages this large. 144 #include <sys/types.h> 152 size_t val = (size_t)ptr;
153 val += __alignof__(
T) - 1;
154 val &= -__alignof__(
T);
166 char _buf[N + __alignof__(
double)];
187 #endif // __W_DEFINES_H
constructs a blob of N bytes.
Definition: w_defines.h:165
static T * aligned_cast(char const *ptr)
Definition: w_defines.h:150
#define T
Definition: w_okvl_inl.h:45
const size_t CACHELINE_SIZE
CPU Cache line size in bytes.
Definition: w_defines.h:183