From: Guenter Knauf Date: Tue, 11 Jan 2011 16:40:13 +0000 (+0100) Subject: Borland C++ doesnt have struct sockaddr_storage. X-Git-Tag: curl-7_21_4~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03ea06b8e3654c0e81f6304e62c16797910bb9e8;p=thirdparty%2Fcurl.git Borland C++ doesnt have struct sockaddr_storage. --- diff --git a/lib/config-win32.h b/lib/config-win32.h index 67bfec3c06..109784f3a3 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 10a5eaf175..7c6991e305 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