diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-22 16:00:02 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-22 16:00:02 +0000 |
commit | 4af95e6d1963e319ed6bb1681a332ad654bdd1ef (patch) | |
tree | 63d42c0e25f0ad84963a0a0c264a93251cbea7a8 /pd/src/m_pd.h | |
parent | 74e28b058aaf629d94ad7d44a9add3062e89441d (diff) |
merged in version 0.37-1test6
svn path=/trunk/; revision=1329
Diffstat (limited to 'pd/src/m_pd.h')
-rw-r--r-- | pd/src/m_pd.h | 7 |
1 files changed, 5 insertions, 2 deletions
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) } |