From 1e6d3f17f3aea63ccfd970cd5ab1b334eda27315 Mon Sep 17 00:00:00 2001 From: Jeremy Boynes Date: Thu, 7 Sep 2023 12:56:16 +0100 Subject: [PATCH] Allow test_toAscii to compile under C++20 --- test/src/WCharacter/test_toAscii.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/src/WCharacter/test_toAscii.cpp b/test/src/WCharacter/test_toAscii.cpp index b071702f..10b54625 100644 --- a/test/src/WCharacter/test_toAscii.cpp +++ b/test/src/WCharacter/test_toAscii.cpp @@ -6,8 +6,6 @@ * INCLUDE **************************************************************************************/ -#undef _GNU_SOURCE - #include #include @@ -47,4 +45,4 @@ TEST_CASE ("toAscii(...) is called with a invalid casted ascii character", "[toA TEST_CASE ("toAscii(...) is called with a character larger than 1 byte", "[toAscii-04]") { REQUIRE(arduino::toAscii(0x3030) == 0x30); -} \ No newline at end of file +}