Print this page
remove support for non-ANSI compilation

*** 22,62 **** /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _FLOAT_H #define _FLOAT_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/feature_tests.h> #ifdef __cplusplus extern "C" { #endif #if defined(__sparc) - #if defined(__STDC__) extern int __flt_rounds(void); - #else /* defined(__STDC__) */ - extern int __flt_rounds(); - #endif /* defined(__STDC__) */ #define FLT_ROUNDS __flt_rounds() #else /* defined(__sparc) */ - #if defined(__STDC__) extern int __fltrounds(void); ! #else /* defined (__STDC__) */ ! extern int __fltrounds(); ! #endif /* defined(__STDC__) */ #if defined(__amd64) #define FLT_ROUNDS __fltrounds() #else /* defined(__amd64) */ extern int __flt_rounds; #define FLT_ROUNDS __flt_rounds --- 22,55 ---- /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _FLOAT_H #define _FLOAT_H #include <sys/feature_tests.h> #ifdef __cplusplus extern "C" { #endif #if defined(__sparc) extern int __flt_rounds(void); #define FLT_ROUNDS __flt_rounds() #else /* defined(__sparc) */ extern int __fltrounds(void); ! #if defined(__amd64) #define FLT_ROUNDS __fltrounds() #else /* defined(__amd64) */ extern int __flt_rounds; #define FLT_ROUNDS __flt_rounds