aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-05-19 08:33:25 +0200
committerRaimo Niskanen <[email protected]>2010-05-27 12:04:00 +0200
commit48d3eec318e54677c5775353f6da5beadb4b4c89 (patch)
treee8eefcff91fbc497a72ec10b65e40cdf0b2309ee
parenta75105b90281b61158b3570e3120317a084b07a4 (diff)
downloadotp-48d3eec318e54677c5775353f6da5beadb4b4c89.tar.gz
otp-48d3eec318e54677c5775353f6da5beadb4b4c89.tar.bz2
otp-48d3eec318e54677c5775353f6da5beadb4b4c89.zip
inet_drv.c: Remove red herring
Remove redundant "!defined(__WIN32__)". It is used inside the #else branch of a "#ifdef __WIN32__", so it serves no useful purpose except to fool unsuspecting readers.
-rw-r--r--erts/emulator/drivers/common/inet_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c
index 83e4443630..87691fc1bc 100644
--- a/erts/emulator/drivers/common/inet_drv.c
+++ b/erts/emulator/drivers/common/inet_drv.c
@@ -294,7 +294,7 @@ static int (*p_sctp_bindx)(int sd, struct sockaddr *addrs,
#define DEBUGF(X) printf X
#endif
-#if !defined(__WIN32__) && !defined(HAVE_STRNCASECMP)
+#if !defined(HAVE_STRNCASECMP)
#define STRNCASECMP my_strncasecmp
static int my_strncasecmp(const char *s1, const char *s2, size_t n)