aboutsummaryrefslogtreecommitdiff
path: root/pd/src
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2007-08-06 16:39:54 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2007-08-06 16:39:54 +0000
commite1e28dedbc4339bac64417180f7be01515e897cc (patch)
tree11991e2b0774b25643afe887dcd2238eb0e710a0 /pd/src
parent7e86a65ef0665a4aca2884411715b2c6184d031f (diff)
fix underflow protection for ia64 (was only enabled for i386)
svn path=/trunk/; revision=8435
Diffstat (limited to 'pd/src')
-rw-r--r--pd/src/m_pd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h
index d3a1a9d8..0b0ec5fa 100644
--- a/pd/src/m_pd.h
+++ b/pd/src/m_pd.h
@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 41
#define PD_BUGFIX_VERSION 0
-#define PD_TEST_VERSION "test04"
+#define PD_TEST_VERSION "test05"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
@@ -623,7 +623,7 @@ defined, there is a "te_xpix" field in objects, not a "te_xpos" as before: */
#define PD_USE_TE_XPIX
-#ifdef __i386__
+#if defined(__i386__) || defined(__x86_64__)
/* a test for NANs and denormals. Should only be necessary on i386. */
#define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000)==0) || \
(((*(unsigned int*)&(f))&0x7f800000)==0x7f800000))