summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/abseil-cpp/patches/macos-without-xopen-source.patch
blob: c3caebd69adc1a0e3701ae6890cf41e83519ceea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc	(index)
+++ contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc	(working tree)
@@ -18,12 +18,6 @@
 #endif
 #endif
 
-#if HAS_STRPTIME
-#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
-#define _XOPEN_SOURCE 500  // Exposes definitions for SUSv2 (UNIX 98).
-#endif
-#endif
-
 #include "absl/base/config.h"
 #include "absl/time/internal/cctz/include/cctz/time_zone.h"