Skip to content

Commit

Permalink
windows: pegtl, add missing include for __msvc_string_view.hpp.
Browse files Browse the repository at this point in the history
* error: missing '#include <__msvc_string_view.hpp>'; 'string_view' must be declared before it is used.

Signed-off-by: furby™ <devs@wabi.foundation>
  • Loading branch information
furby-tm committed Nov 2, 2024
1 parent 224eb3e commit 5a492ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Pegtl/include/Pegtl/demangle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

#include "config.hpp"

#if defined(_WIN32)
# include <__msvc_string_view.hpp>
#endif // defined(_WIN32)

// ensure a consistent interface
namespace PXR_PEGTL_NAMESPACE
{
Expand Down

0 comments on commit 5a492ed

Please sign in to comment.