On Wed, Nov 21, 2012 at 04:10:24PM +0400, Konstantin Serebryany wrote: > >> it is also redefined > >> properly for the compilers which don't have it and may not have > >> __LP64__ > > > > ??? __WORDSIZE is only defined by glibc. __LP64__ (or _LP64) is a > > standard macro defined by the compiler. > > libsanitizer is a third party library, its primary repository is not gcc. > If we make such change (use __LP64__ instead of __WORDSIZE), we should > make it upstream first.
That is true, but it really should change, __WORDSIZE is a glibc private macro that other programs just shouldn't use. Jakub