Skip to content

Commit 96b643f

Browse files
mmMikePovilas Kanapickas
authored andcommitted
Fix reference to libc++ on Mac (__1 and __LIBCPP_ABI_VERSION are both used depending on how you install clang)
1 parent b8affea commit 96b643f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

devhelp2qch.xsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
<keyword name="{@name}" id="{@name}" ref="{@link}" />
7878
<!-- Add an additional id for libc++ users -->
7979
<xsl:if test="starts-with(@name, 'std::')">
80-
<keyword name="{@name}" id="{concat('std::___LIBCPP_ABI_VERSION::', substring(@name, 6))}" ref="{@link}" />
80+
<keyword name="{@name}" id="{concat('std::__LIBCPP_ABI_VERSION::', substring(@name, 6))}" ref="{@link}" />
81+
<keyword name="{@name}" id="{concat('std::__1::', substring(@name, 6))}" ref="{@link}" />
8182
</xsl:if>
8283
</xsl:if>
8384
</xsl:template>

0 commit comments

Comments
 (0)