From ca0c7240cee83dd5bcb505f66384cfbbe6424651 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 22 Jan 2013 16:56:07 +0000 Subject: [proc] is only relevant on Linux, so no need to support UTF-8 on Win32 svn path=/trunk/externals/cxc/; revision=16953 --- proc.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/proc.c b/proc.c index 339ee11..1bb633c 100644 --- a/proc.c +++ b/proc.c @@ -12,13 +12,6 @@ // later for number of users // #include -/* support older Pd versions without sys_fopen(), sys_fclose(), and, sys_close() */ -#if PD_MAJOR_VERSION == 0 && PD_MINOR_VERSION < 44 -#define sys_fopen fopen -#define sys_fclose fclose -#define sys_close close -#endif - #ifndef SSIZE_MAX #define SSIZE_MAX 255 #endif @@ -64,7 +57,7 @@ void proc_cpuinfo(t_proc *x) restf = 0; ac = 0; - fp = sys_fopen(name,"r"); + fp = fopen(name,"r"); if (!fp) { post("cxc/proc.c: unable to open %s",name); return; @@ -128,7 +121,7 @@ void proc_proc(t_proc *x, t_symbol *s) restf = 0; ac = 0; - fp = sys_fopen(name,"r"); + fp = fopen(name,"r"); if (!fp) { post("cxc/proc.c: unable to open %s",name); return; -- cgit v1.2.1