Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xf86-video-wsfb/dist/src For WSDISPLAY_TYPE_A...



details:   https://anonhg.NetBSD.org/xsrc/rev/d19677dec50d
branches:  trunk
changeset: 6991:d19677dec50d
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Jul 07 11:48:16 2022 +0000

description:
For WSDISPLAY_TYPE_AMIGACC, no need to check ifdef __NetBSD__.

Note that similar block for WSDISPLAY_TYPE_LUNA should be guarded by
``#if defined(__NetBSD__) && defined(WSDISPLAY_TYPE_LUNA)'' on the
other hand; this is intended to distinguish NetBSD and OpenBSD.

diffstat:

 external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7254c083acce -r d19677dec50d external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c
--- a/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c       Thu Jul 07 11:42:27 2022 +0000
+++ b/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c       Thu Jul 07 11:48:16 2022 +0000
@@ -577,7 +577,7 @@
                bitsperpixel = 1;
        }
 #endif
-#if defined(__NetBSD__) && defined(WSDISPLAY_TYPE_AMIGACC)
+#ifdef WSDISPLAY_TYPE_AMIGACC
        if (wstype == WSDISPLAY_TYPE_AMIGACC) {
                /*
                 * Video memory is organized in bitplanes.



Home | Main Index | Thread Index | Old Index