-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*- | ||
* Copyright (c) 2003-2017 Lev Walkin <[email protected]>. All rights reserved. | ||
* Copyright (c) 2003-2019 Lev Walkin <[email protected]>. All rights reserved. | ||
* Redistribution and modifications are permitted subject to BSD license. | ||
*/ | ||
#define _POSIX_PTHREAD_SEMANTICS /* for Sun */ | ||
|
@@ -57,7 +57,7 @@ static struct tm *gmtime_r(const time_t *tloc, struct tm *result) { | |
* Where to look for offset from GMT, Phase I. | ||
* Several platforms are known. | ||
*/ | ||
#if defined(__FreeBSD__) \ | ||
#if defined(__FreeBSD__) || defined(__OpenBSD__) \ | ||
|| (defined(__GNUC__) && defined(__APPLE_CC__)) \ | ||
|| (defined __GLIBC__ && __GLIBC__ >= 2) | ||
#undef HAVE_TM_GMTOFF | ||
|