diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 16:56:35 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 16:56:35 +0000 |
commit | 85b4a6d883d99e1339a74cede47ffa49cbe5101f (patch) | |
tree | 75e283cb43ccff19c66d761b743930ad1a342cc6 | |
parent | ca0c7240cee83dd5bcb505f66384cfbbe6424651 (diff) |
fix backwards compatibilty with sys_open/sys_close
svn path=/trunk/externals/cxc/; revision=16954
-rw-r--r-- | ascwave.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,11 +7,11 @@ #include <malloc.h> #endif -/* support older Pd versions without sys_fopen(), sys_fclose(), and, sys_close() */ +/* support older Pd versions without sys_open(), sys_fopen(), sys_fclose() */ #if PD_MAJOR_VERSION == 0 && PD_MINOR_VERSION < 44 +#define sys_open open #define sys_fopen fopen #define sys_fclose fclose -#define sys_close close #endif #ifndef RAND_MAX |