aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2025-06-21 00:32:12 +0300
committerthegeorg <thegeorg@yandex-team.com>2025-06-21 00:49:01 +0300
commit55316cf27ec6893e10169f521113d8fa1639e1e4 (patch)
tree5e09e62ac817e229c07fbb743dab1d3dfb611ee4 /contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch
parentf973252cef2252054cfa38a3384c5f63c6c57ed6 (diff)
downloadydb-55316cf27ec6893e10169f521113d8fa1639e1e4.tar.gz
Merge numerous abseil-cpp-tstring sublibraries to ease unbundling
commit_hash:257c1f495ecb3aac071ea951e8384c5b7d0a5251
Diffstat (limited to 'contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch')
-rw-r--r--contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch b/contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch
new file mode 100644
index 00000000000..6db0e35b0bb
--- /dev/null
+++ b/contrib/restricted/abseil-cpp-tstring/patches/macos-without-xopen-source.patch
@@ -0,0 +1,15 @@
+--- contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_format.cc (index)
++++ contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_format.cc (working tree)
+@@ -18,12 +18,6 @@
+ #endif
+ #endif
+
+-#if defined(HAS_STRPTIME) && HAS_STRPTIME
+-#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+-#define _XOPEN_SOURCE 500 // Exposes definitions for SUSv2 (UNIX 98).
+-#endif
+-#endif
+-
+ #include "y_absl/base/config.h"
+ #include "y_absl/time/internal/cctz/include/cctz/time_zone.h"
+