From 9f880fa1eca65ed6b1e30624a97f543f2bcfb4a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 6 Oct 2015 12:56:58 +0000 Subject: wrap sys_open/close functions svn path=/trunk/externals/zexy/; revision=17572 --- src/zexy.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/zexy.h b/src/zexy.h index b8561cd..f651b7b 100644 --- a/src/zexy.h +++ b/src/zexy.h @@ -155,9 +155,15 @@ void verbose(int level, const char *fmt, ...); #endif #if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 43) +# define z_open sys_open # define z_close sys_close +# define z_fopen sys_fopen +# define z_fclose sys_fclose #else +# define z_open open # define z_close close +# define z_fopen fopen +# define z_fclose fclose #endif -- cgit v1.2.1