diff options
Diffstat (limited to 'iemlib1')
-rw-r--r-- | iemlib1/src/iemlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iemlib1/src/iemlib.h b/iemlib1/src/iemlib.h index 29c6276..a4c0e12 100644 --- a/iemlib1/src/iemlib.h +++ b/iemlib1/src/iemlib.h @@ -100,7 +100,7 @@ union tabfudge_f #endif /* on 64bit systems we cannot use garray_getfloatarray... */ -#if((PD_MAJOR_VERSION)&&(PD_MINOR_VERSION > 40)) +#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) |