From 03ea06b8e3654c0e81f6304e62c16797910bb9e8 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 11 Jan 2011 17:40:13 +0100 Subject: [PATCH] Borland C++ doesnt have struct sockaddr_storage. --- lib/config-win32.h | 2 +- src/config-win32.h | 2 +- 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 -- 2.40.0