aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-01-11 17:40:13 +0100
committerGuenter Knauf <lists@gknw.net>2011-01-11 17:40:13 +0100
commit03ea06b8e3654c0e81f6304e62c16797910bb9e8 (patch)
treea4aa4c2b37f371da59de0dd8b15a7b79093c0c7b
parent08a65b10fbbee20926211a9deb99b1ce8328d91a (diff)
Borland C++ doesnt have struct sockaddr_storage.
-rw-r--r--lib/config-win32.h2
-rw-r--r--src/config-win32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 67bfec3c0..109784f3a 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -357,7 +357,7 @@
/* ---------------------------------------------------------------- */
/* Define this if you have struct sockaddr_storage */
-#ifndef __SALFORDC__
+#if !(defined(__SALFORDC__) || defined(__BORLANDC__))
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#endif
diff --git a/src/config-win32.h b/src/config-win32.h
index 10a5eaf17..7c6991e30 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -228,7 +228,7 @@
/* ---------------------------------------------------------------- */
/* Define this if you have struct sockaddr_storage */
-#ifndef __SALFORDC__
+#if !(defined(__SALFORDC__) || defined(__BORLANDC__))
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#endif