Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe When we force COMPAT_NETBSD32 to be define...



details:   https://anonhg.NetBSD.org/src/rev/d23a6a43b19d
branches:  trunk
changeset: 448442:d23a6a43b19d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 03 11:03:53 2019 +0000

description:
When we force COMPAT_NETBSD32 to be defined, force it to the same value
that opt_compate_netbsd32.h would have, otherwise we get a "redefined"
error from gcc.
XXX this looks fishy, Paul, can you have a look, please?

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 657cfc0d9fad -r d23a6a43b19d sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Sun Feb 03 10:48:46 2019 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Sun Feb 03 11:03:53 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.361 2019/02/03 08:02:24 pgoyette Exp $    */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.362 2019/02/03 11:03:53 martin Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.361 2019/02/03 08:02:24 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.362 2019/02/03 11:03:53 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_raid_autoconfig.h"
@@ -152,7 +152,7 @@
 
 #ifdef _LP64
 #ifndef COMPAT_NETBSD32
-#define COMPAT_NETBSD32
+#define COMPAT_NETBSD32        1
 #endif
 #include "rf_compat32.h"
 #endif



Home | Main Index | Thread Index | Old Index