x11proto: Changes to 'master'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sun Feb 10 19:08:24 PST 2008
Xos.h | 2 +-
Xos_r.h | 2 +-
Xosdefs.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e4ad7a8080e4ac0b868fa7cf39bc5ad9a6e0bee1
Author: Jeremy Huddleston <jeremy at tifa.local>
Date: Sun Feb 10 19:07:49 2008 -0800
Fixed #ifdef checks that were using i386 to use __i386__
"""
It's simply obsolete, sloppy, compiler namespace pollution. The
compiler is not allowed to predefine symbols that might conflict with
ordinary identifiers. For backwards compatibility gcc currently
predefines i386 when compiling for x86 32-bit (but not 64-bit), but that
will go away. It is also not defined if you specify -ansi when invoking
the compiler, because then it is seriously standards compliant. Other
compilers shouldn't define it either. Correct code shouldn't rely on it
being defined. However __i386__ is safe and proper.
"""
More information about the xorg-commit
mailing list