aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-10-06 12:56:58 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-10-06 12:56:58 +0000
commit9f880fa1eca65ed6b1e30624a97f543f2bcfb4a1 (patch)
tree26dc8b0cb2ea014f84d890e995fe6b4d0719e692
parent850e48d21da09856373545f59c6edd0f932ed166 (diff)
wrap sys_open/close functions
svn path=/trunk/externals/zexy/; revision=17572
-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