diff options
Diffstat (limited to 'src/zexy.h')
-rw-r--r-- | src/zexy.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -151,6 +151,13 @@ static void zexy_register(char*object){object=0;} # define z_verbose #endif +#if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 43) +# define z_close sys_close +#else +# define z_close close +#endif + + #if (defined __x86_64__) && (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION >= 41) # define zarray_t t_word # define zarray_getarray garray_getfloatwords |