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!)
This commit is contained in:
parent
34637b8687
commit
3f0fc12d5a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user