summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-07-25 12:43:17 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-07-25 12:44:10 -0700
commitd0e7a8ab3af01630aebe6d10cab55a878b6cf460 (patch)
treeb0e2b81fc0ad8bccbe76b4c310c168f62260f4cf
parent701185dbce17a2f49334027ca3cb5788a5d06c6d (diff)
Import of CCTZ from GitHub.
PiperOrigin-RevId: 463153060 Change-Id: I6d24915c52bfe6507864df30aad99ba4fea2ea68
-rw-r--r--absl/time/internal/cctz/src/time_zone_format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/time/internal/cctz/src/time_zone_format.cc b/absl/time/internal/cctz/src/time_zone_format.cc
index d8cb0474..2e5f5329 100644
--- a/absl/time/internal/cctz/src/time_zone_format.cc
+++ b/absl/time/internal/cctz/src/time_zone_format.cc
@@ -19,7 +19,7 @@
#endif
#if defined(HAS_STRPTIME) && HAS_STRPTIME
-#if !defined(_XOPEN_SOURCE)
+#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__)
#define _XOPEN_SOURCE // Definedness suffices for strptime.
#endif
#endif