aboutsummaryrefslogtreecommitdiff
path: root/tabfind
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2008-11-21 22:11:47 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2008-11-21 22:11:47 +0000
commit342af4b3a489ec0d3eb0f855467dcdbc51eaec45 (patch)
tree2225d9c1d44c0a46634ebcfee4c4df2f07e111fd /tabfind
parentb02eaa7f9a317b1ca5ac91276b1e7ce7ca48a32b (diff)
select garray_getfloatwords() or garray_getfloatarray() depending on pd version.
(garray_getfloatwords was not implemented until pd 0.41) svn path=/trunk/externals/mrpeach/; revision=10375
Diffstat (limited to 'tabfind')
-rw-r--r--tabfind/tabfind.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tabfind/tabfind.c b/tabfind/tabfind.c
index e1c2d2a..e6dbd22 100644
--- a/tabfind/tabfind.c
+++ b/tabfind/tabfind.c
@@ -4,7 +4,9 @@
#include "m_pd.h"
-/* #define USE_GETFLOATWORDS *//* if garray_getfloatwords is implemented */
+#if (PD_MINOR_VERSION > 40)
+#define USE_GETFLOATWORDS *//* if garray_getfloatwords is implemented */
+#endif
/* garray_getfloatwords uses t_word but doesn't exist in some versions of pd */
/* garray_getfloatarray uses t_float but is not 64-bit */