From 4af95e6d1963e319ed6bb1681a332ad654bdd1ef Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Sun, 22 Feb 2004 16:00:02 +0000 Subject: merged in version 0.37-1test6 svn path=/trunk/; revision=1329 --- pd/src/m_pd.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pd/src/m_pd.h') diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h index fd8d61bf..bfae6f5b 100644 --- a/pd/src/m_pd.h +++ b/pd/src/m_pd.h @@ -623,11 +623,14 @@ defined, there is a "te_xpix" field in objects, not a "te_xpos" as before: */ #define PD_USE_TE_XPIX -/* a test for NANs and denormals. Shouldn't be necessary on Mac but can't -test this just now. */ +/* a test for NANs and denormals. Should only be necessary on i386. */ +#ifdef __i386__ #define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000)==0) || \ (((*(unsigned int*)&(f))&0x7f800000)==0x7f800000)) +#else +#define PD_BADFLOAT(f) 0 +#endif #if defined(_LANGUAGE_C_PLUS_PLUS) || defined(__cplusplus) } -- cgit v1.2.1