diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-05 03:01:20 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-05 03:01:20 +0000 |
commit | a4469cbccaa2e64c80e24742f01082b41f870021 (patch) | |
tree | 7dc7e026e0bc7584bd592f83e236470499f4c7bf /streamin13~.c | |
parent | 67a3b4ed87d68e69124cd01bd5d90732a535cd62 (diff) |
removed UNIX macro and replaced with auto macros
svn path=/trunk/externals/ext13/; revision=11676
Diffstat (limited to 'streamin13~.c')
-rw-r--r-- | streamin13~.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streamin13~.c b/streamin13~.c index d0d7529..3eaac24 100644 --- a/streamin13~.c +++ b/streamin13~.c @@ -107,7 +107,7 @@ static int streamin13_listen(t_streamin13 *x,int portno) server.sin_family = AF_INET; server.sin_addr.s_addr = INADDR_ANY; - #if defined(UNIX) || defined(unix) + #if defined(__linux__) || defined(__APPLE__) if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) post("setsockopt failed\n"); #endif |