From 60edbc09870cbdda10504e0994b6cc12f08294a8 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Mon, 1 Dec 2003 22:53:09 +0000 Subject: [PATCH] Fixed case where socklen_t is #defined in the system headers rather than typedefed. svn path=/trunk/boinc/; revision=2726 --- client/hostinfo_unix.C | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/hostinfo_unix.C b/client/hostinfo_unix.C index e4a397764f..fa956b7a7e 100644 --- a/client/hostinfo_unix.C +++ b/client/hostinfo_unix.C @@ -16,6 +16,13 @@ // // Contributor(s): // +// Change Log: +// $Log$ +// Revision 1.49 2003/12/01 22:53:09 korpela +// Fixed case where socklen_t is #defined in the system headers rather than +// typedefed. +// +// #include "cpp.h" @@ -96,6 +103,8 @@ int get_timezone() { return time_data->tm_gmtoff; #elif defined(linux) return __timezone; +#elif defined(__CYGWIN32__) + return _timezone; #elif defined(unix) return timezone; #else