aboutsummaryrefslogtreecommitdiff
path: root/iemlib2/src
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2012-09-11 11:56:33 +0000
committermusil <tmusil@users.sourceforge.net>2012-09-11 11:56:33 +0000
commit9edd6fd38a6b53a5bf78e64b93b74eba9a088807 (patch)
treee8b8a22ba451867d22ba91d61a945f3a5ae47065 /iemlib2/src
parent78e21523b505712b85951d8def70ea64eacbc6a9 (diff)
better #if for iemarray_getarray()
svn path=/trunk/externals/iemlib/; revision=16203
Diffstat (limited to 'iemlib2/src')
-rw-r--r--iemlib2/src/iemlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iemlib2/src/iemlib.h b/iemlib2/src/iemlib.h
index 8703127..70d75dd 100644
--- a/iemlib2/src/iemlib.h
+++ b/iemlib2/src/iemlib.h
@@ -103,7 +103,7 @@ union tabfudge_f
#endif
/* on 64bit systems we cannot use garray_getfloatarray... */
-#if (defined __x86_64__) && (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION >= 41)
+#if ((defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 40)
# define iemarray_t t_word
# define iemarray_getarray garray_getfloatwords
# define iemarray_getfloat(pointer, index) (pointer[index].w_float)