Skip to content

Commit

Permalink
Fix PMR test
Browse files Browse the repository at this point in the history
  • Loading branch information
foonathan committed Sep 12, 2024
1 parent 2959500 commit 77ba5fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/lexy/input/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <lexy/input/argv_input.hpp>
#include <lexy/input/string_input.hpp>

#if defined(__has_include) && __has_include(<memory_resource>)
#if defined(__has_include) && __has_include(<memory_resource>) && !defined(_LIBCPP_VERSION)
# include <memory_resource>
# define LEXY_HAS_RESOURCE 1
#else
Expand Down
2 changes: 1 addition & 1 deletion tests/lexy/input/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <cstdio>
#include <doctest/doctest.h>

#if defined(__has_include) && __has_include(<memory_resource>)
#if defined(__has_include) && __has_include(<memory_resource>) && !defined(_LIBCPP_VERSION)
# include <memory_resource>
# define LEXY_HAS_RESOURCE 1
#else
Expand Down

0 comments on commit 77ba5fa

Please sign in to comment.