diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 16:56:07 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 16:56:07 +0000 |
commit | ca0c7240cee83dd5bcb505f66384cfbbe6424651 (patch) | |
tree | 2e9c94be439e2ad24b626a4a935e5e1244d19330 | |
parent | af7dec954a43e04f85bbd0f140375cce033da033 (diff) |
[proc] is only relevant on Linux, so no need to support UTF-8 on Win32
svn path=/trunk/externals/cxc/; revision=16953
-rw-r--r-- | proc.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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; |