Source-Changes-HG archive

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

[src/trunk]: src/include Actually test for sparc v9 architecture, doesn't mat...



details:   https://anonhg.NetBSD.org/src/rev/48bde48113fe
branches:  trunk
changeset: 765033:48bde48113fe
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 16 14:50:36 2011 +0000

description:
Actually test for sparc v9 architecture, doesn't matter if we are building
32bit or 64bit (fixes 32bit compat library build on sparc64 - yes, they
differ from native sparc libs!)

diffstat:

 include/fenv.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ae664aa2dde0 -r 48bde48113fe include/fenv.h
--- a/include/fenv.h    Mon May 16 13:22:51 2011 +0000
+++ b/include/fenv.h    Mon May 16 14:50:36 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fenv.h,v 1.4 2011/05/16 07:59:19 he Exp $      */
+/*     $NetBSD: fenv.h,v 1.5 2011/05/16 14:50:36 martin Exp $  */
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if !defined(__i386__) && !defined(__amd64__) && !defined(__sparc64__)
+#if !defined(__i386__) && !defined(__amd64__) && !defined(__sparc_v9__)
 #error "fenv.h is currently not supported for this architecture"
 #endif
 



Home | Main Index | Thread Index | Old Index