aboutsummaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c11
1 files 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 <utmp.h>
-/* 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;