Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include fix build failure on mipsel.
details: https://anonhg.NetBSD.org/src/rev/a8ed7d18f67e
branches: trunk
changeset: 778232:a8ed7d18f67e
user: nonaka <nonaka%NetBSD.org@localhost>
date: Tue Mar 20 11:28:04 2012 +0000
description:
fix build failure on mipsel.
>/usr/src/lib/libc/gen/nlist_ecoff.c(112): warning: constant in conditional context [161]
diffstat:
sys/arch/mips/include/ecoff_machdep.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r dcae3c4271a2 -r a8ed7d18f67e sys/arch/mips/include/ecoff_machdep.h
--- a/sys/arch/mips/include/ecoff_machdep.h Tue Mar 20 10:51:23 2012 +0000
+++ b/sys/arch/mips/include/ecoff_machdep.h Tue Mar 20 11:28:04 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ecoff_machdep.h,v 1.20 2009/12/10 14:13:51 matt Exp $ */
+/* $NetBSD: ecoff_machdep.h,v 1.21 2012/03/20 11:28:04 nonaka Exp $ */
/*
* Copyright (c) 1997 Jonathan Stone
@@ -46,7 +46,7 @@
#include <mips/cpu.h> /* mips CPU architecture levels */
#define _MIPS3_OK() CPUISMIPS3
#else
-#define _MIPS3_OK() 1
+#define _MIPS3_OK() /*CONSTCOND*/1
#endif
Home |
Main Index |
Thread Index |
Old Index