aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/patches/yyy-enable-std-expected.patch
blob: d5bd5b6e2fde0a92b96fe3dba1abae19f55327bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
diff --git a/include/__expected/bad_expected_access.h b/include/__expected/bad_expected_access.h
index 1b73438..d954545 100644
--- a/include/__expected/bad_expected_access.h
+++ b/include/__expected/bad_expected_access.h
@@ -20,7 +20,7 @@
 _LIBCPP_PUSH_MACROS
 #include <__undef_macros>
 
-#if _LIBCPP_STD_VER >= 23
+#if _LIBCPP_STD_VER >= 20
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
diff --git a/include/__expected/expected.h b/include/__expected/expected.h
index f4ad455..6e5745c 100644
--- a/include/__expected/expected.h
+++ b/include/__expected/expected.h
@@ -55,7 +55,7 @@
 _LIBCPP_PUSH_MACROS
 #include <__undef_macros>
 
-#if _LIBCPP_STD_VER >= 23
+#if _LIBCPP_STD_VER >= 20
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
diff --git a/include/__expected/unexpect.h b/include/__expected/unexpect.h
index df52787..fc3be4c 100644
--- a/include/__expected/unexpect.h
+++ b/include/__expected/unexpect.h
@@ -15,7 +15,7 @@
 #  pragma GCC system_header
 #endif
 
-#if _LIBCPP_STD_VER >= 23
+#if _LIBCPP_STD_VER >= 20
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
diff --git a/include/__expected/unexpected.h b/include/__expected/unexpected.h
index c7fe3c5..928b677 100644
--- a/include/__expected/unexpected.h
+++ b/include/__expected/unexpected.h
@@ -34,7 +34,7 @@
 _LIBCPP_PUSH_MACROS
 #include <__undef_macros>
 
-#if _LIBCPP_STD_VER >= 23
+#if _LIBCPP_STD_VER >= 20
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
diff --git a/include/expected b/include/expected
index 6a2f12f..ccdbc3b 100644
--- a/include/expected
+++ b/include/expected
@@ -40,7 +40,7 @@ namespace std {
 
 #include <__config>
 
-#if _LIBCPP_STD_VER >= 23
+#if _LIBCPP_STD_VER >= 20
 #  include <__expected/bad_expected_access.h>
 #  include <__expected/expected.h>
 #  include <__expected/unexpect.h>