diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-11-26 11:08:22 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-11-26 11:08:22 +0000 |
commit | 2979b062ddcbdc9f2c78fe410a322b470e4a29db (patch) | |
tree | 964e5b39497b1c0a2a9d46a1bef9d8833ce5b910 /oggread~ | |
parent | 39bfab603950686c2b007be44fc75643daacc932 (diff) |
replaced UNIX with unix
svn path=/trunk/externals/pdogg/; revision=249
Diffstat (limited to 'oggread~')
-rw-r--r-- | oggread~/oggread~.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oggread~/oggread~.c b/oggread~/oggread~.c index af07fb0..8cc879a 100644 --- a/oggread~/oggread~.c +++ b/oggread~/oggread~.c @@ -36,7 +36,7 @@ #include <stdio.h>
#include <errno.h>
#include <fcntl.h>
-#ifdef UNIX
+#ifdef unix
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
@@ -290,7 +290,7 @@ static void oggread_open(t_oggread *x, t_symbol *filename) post("oggread~: previous file closed");
}
/* open file for reading */
-#ifdef UNIX
+#ifdef unix
if((x->x_file = fopen(filename->s_name, "r")) < 0)
#else
if((x->x_file = fopen(filename->s_name, "rb")) < 0)
|