diff options
| author | martin <martin@NetBSD.org> | 2011-05-16 14:50:36 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2011-05-16 14:50:36 +0000 |
| commit | 92f0a476513376e7e2938fbf7b802ee80eea6c2a (patch) | |
| tree | 72ac0d97f0e618a5930cf53acec61c83a5d3c943 /include | |
| parent | effab97ee041c694074f59399f70fd4d1edfa2a2 (diff) | |
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 (limited to 'include')
| -rw-r--r-- | include/fenv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fenv.h b/include/fenv.h index c36f12cfcac..4abcec7132c 100644 --- a/include/fenv.h +++ b/include/fenv.h @@ -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 |
