aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zexy.h6
1 files changed, 6 insertions, 0 deletions
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