File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 34
34
35
35
#define _LIBCPP_VERSION 9000
36
36
37
+ #ifndef _LIBCPP_ABI_VERSION
38
+ # define _LIBCPP_ABI_VERSION 1
39
+ #endif
40
+
37
41
#ifndef __STDC_HOSTED__
38
42
# define _LIBCPP_FREESTANDING
39
43
#endif
62
66
# error Unknown object file format
63
67
#endif
64
68
65
- #if defined(_LIBCPP_ABI_UNSTABLE)
66
- # ifdef _LIBCPP_ABI_VERSION
67
- # error _LIBCPP_ABI_VERSION cannot be defined with _LIBCPP_ABI_UNSTABLE
68
- # endif
69
- # define _LIBCPP_ABI_VERSION _LIBCPP_VERSION
70
- #endif
71
-
72
- #ifndef _LIBCPP_ABI_VERSION
73
- # define _LIBCPP_ABI_VERSION 1
74
- #endif
75
-
76
- #if _LIBCPP_ABI_VERSION >= 2
69
+ #if defined(_LIBCPP_ABI_UNSTABLE) || _LIBCPP_ABI_VERSION >= 2
77
70
// Change short string representation so that string data starts at offset 0,
78
71
// improving its alignment in some cases.
79
72
# define _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT
You can’t perform that action at this time.
0 commit comments