From b78d474aee86c3580348db24091bb4fd749c97af Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 17 Feb 2003 03:42:42 +0000 Subject: changed #ifdef unix to #ifdef UNIX since it seems more of a standard and makes things consistent svn path=/trunk/externals/ext13/; revision=400 --- streamin13~.c | 6 +++--- streamout13~.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/streamin13~.c b/streamin13~.c index c4efded..bf7eafb 100644 --- a/streamin13~.c +++ b/streamin13~.c @@ -5,7 +5,7 @@ #include #include -#ifdef unix +#ifdef UNIX #include #include #include @@ -31,7 +31,7 @@ static void sys_sockerror(char *s) { -#ifdef unix +#ifdef UNIX int err = errno; #else int err = WSAGetLastError(); @@ -106,7 +106,7 @@ static int streamin13_listen(t_streamin13 *x,int portno) server.sin_family = AF_INET; server.sin_addr.s_addr = INADDR_ANY; - #ifdef unix + #ifdef UNIX if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) post("setsockopt failed\n"); #endif diff --git a/streamout13~.c b/streamout13~.c index 97eb986..7ce7681 100644 --- a/streamout13~.c +++ b/streamout13~.c @@ -3,7 +3,7 @@ #include #include -#ifdef unix +#ifdef UNIX #include #include #include @@ -23,7 +23,7 @@ static void sys_sockerror(char *s) { -#ifdef unix +#ifdef UNIX int err = errno; #else int err = WSAGetLastError(); -- cgit v1.2.1