13/03/2019 18:06, Natanael Copa: > There is no standard saying that __WORDSIZE should be be defined or in > what include it should be defined. Use a portable way to detect 64 bit > environment. > > This fixes a warning when building with musl libc: > > warning: "__WORDSIZE" is not defined, evaluates to 0 [-Wundef] > > Signed-off-by: Natanael Copa <nc...@alpinelinux.org> > --- [...] > -#if (__WORDSIZE == 64) > +#if (ULONG_MAX == 0xffffffffffffffff)
There is a more explicit config in DPDK: RTE_ARCH_64