From 23da6252985418ada3083303f3847817a23044fb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 3 Mar 2003 20:39:47 +0000 Subject: added UNIX and unix defines svn path=/trunk/externals/ext13/; revision=451 --- streamout13~.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'streamout13~.c') diff --git a/streamout13~.c b/streamout13~.c index 7ce7681..22ad6f8 100644 --- a/streamout13~.c +++ b/streamout13~.c @@ -3,7 +3,7 @@ #include #include -#ifdef UNIX +#if defined(UNIX) || defined(unix) #include #include #include @@ -23,7 +23,7 @@ static void sys_sockerror(char *s) { -#ifdef UNIX +#if defined(UNIX) || defined(unix) int err = errno; #else int err = WSAGetLastError(); @@ -36,7 +36,7 @@ static void sys_sockerror(char *s) static void sys_closesocket(int fd) { -#ifdef UNIX +#if defined(UNIX) || defined(unix) close(fd); #endif #ifdef NT -- cgit v1.2.1