Module Name:    src
Committed By:   martin
Date:           Sun Feb  3 11:03:53 UTC 2019

Modified Files:
        src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
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?


To generate a diff of this commit:
cvs rdiff -u -r1.361 -r1.362 src/sys/dev/raidframe/rf_netbsdkintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/raidframe/rf_netbsdkintf.c
diff -u src/sys/dev/raidframe/rf_netbsdkintf.c:1.361 src/sys/dev/raidframe/rf_netbsdkintf.c:1.362
--- src/sys/dev/raidframe/rf_netbsdkintf.c:1.361	Sun Feb  3 08:02:24 2019
+++ src/sys/dev/raidframe/rf_netbsdkintf.c	Sun Feb  3 11:03:53 2019
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: rf_netbsdkin
 
 #ifdef _LP64
 #ifndef COMPAT_NETBSD32
-#define COMPAT_NETBSD32
+#define COMPAT_NETBSD32	1
 #endif
 #include "rf_compat32.h"
 #endif

Reply via email to