Module Name: src
Committed By: nonaka
Date: Tue Mar 20 11:28:04 UTC 2012
Modified Files:
src/sys/arch/mips/include: ecoff_machdep.h
Log Message:
fix build failure on mipsel.
>/usr/src/lib/libc/gen/nlist_ecoff.c(112): warning: constant in conditional
>context [161]
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/mips/include/ecoff_machdep.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/ecoff_machdep.h
diff -u src/sys/arch/mips/include/ecoff_machdep.h:1.20 src/sys/arch/mips/include/ecoff_machdep.h:1.21
--- src/sys/arch/mips/include/ecoff_machdep.h:1.20 Thu Dec 10 14:13:51 2009
+++ src/sys/arch/mips/include/ecoff_machdep.h Tue Mar 20 11:28:04 2012
@@ -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