Fixed case where socklen_t is #defined in the system headers rather than

typedefed.

svn path=/trunk/boinc/; revision=2726
This commit is contained in:
Eric J. Korpela 2003-12-01 22:53:09 +00:00
parent 1350527985
commit 60edbc0987
1 changed files with 9 additions and 0 deletions

View File

@ -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