aboutsummaryrefslogtreecommitdiff
path: root/streamout13~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-02-17 03:42:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-02-17 03:42:42 +0000
commitb78d474aee86c3580348db24091bb4fd749c97af (patch)
tree5ed5346848c5f21839f19eafa61acbe0305f57fb /streamout13~.c
parent56c663dcf1f417a6df6db332a19e22971cb849eb (diff)
changed #ifdef unix to #ifdef UNIX since it seems more of a standard and makes things consistent
svn path=/trunk/externals/ext13/; revision=400
Diffstat (limited to 'streamout13~.c')
-rw-r--r--streamout13~.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/streamout13~.c b/streamout13~.c
index 97eb986..7ce7681 100644
--- a/streamout13~.c
+++ b/streamout13~.c
@@ -3,7 +3,7 @@
#include <sys/types.h>
#include <string.h>
-#ifdef unix
+#ifdef UNIX
#include <sys/errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -23,7 +23,7 @@
static void sys_sockerror(char *s)
{
-#ifdef unix
+#ifdef UNIX
int err = errno;
#else
int err = WSAGetLastError();