On 11/16/15 10:02 PM, Richard PALO wrote:
From: Richard PALO <rich...@netbsd.org>
Globally replace #ifdef and #if defined usage of 'sun' with '__sun'
such that strict ISO compiler modes such as -ansi or -std=c99 can be used.
Signed-off-by: Richard PALO <rich...@netbsd.org>
---
hw/kdrive/src/kinput.c | 2 +-
hw/xfree86/common/xf86AutoConfig.c | 10 +++++-----
hw/xfree86/common/xf86Globals.c | 2 +-
hw/xfree86/common/xf86Privstr.h | 2 +-
hw/xfree86/common/xf86cmap.c | 2 +-
hw/xfree86/loader/os.c | 2 +-
hw/xfree86/os-support/bus/Sbus.c | 4 ++--
hw/xfree86/os-support/xf86_OSlib.h | 22 +++++++++++-----------
os/access.c | 8 ++++----
os/backtrace.c | 2 +-
os/io.c | 2 +-
os/rpcauth.c | 2 +-
xkb/xkbInit.c | 2 +-
13 files changed, 31 insertions(+), 31 deletions(-)
Finally got a chance to try these out - it doesn't seem to change my build
at all (as expected). While I don't think we've ever promised you can build
X in strict standard mode without any extensions, fixing this up is harmless,
so this is:
Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com>
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel