* Source/NSDecimalNumber.m: (isinf,isnan,isinff,isnanf):

Temporary empty definitions of C99 macros for environments
	which do not define them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2007-12-03 18:35:16 +00:00
parent 4f380653db
commit 91fe4020dc
2 changed files with 21 additions and 0 deletions

View file

@ -37,6 +37,21 @@
#include "GSPrivate.h"
// AYERS: Temporary workaround until correct flags/includes for other
// libc implemenatations can be identified.
#ifndef isinf
#define isinf(n) ( 0 )
#endif
#ifndef isnan
#define isnan(n) ( 0 )
#endif
#ifndef isinff
#define isinff(n) ( 0 )
#endif
#ifndef isnanf
#define isnanf(n) ( 0 )
#endif
// shared default behavior for NSDecimalNumber class
static NSDecimalNumberHandler *handler;