From ad91a991983789577adb281c77057caccb1f2654 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 2 Feb 2015 16:30:17 +0000 Subject: [PATCH] tests: The wchar header actually looks for _GNU_SOURCE * We we are pretty mixed here. See #11818 --- src/tests/system/libroot/posix/wcs_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/system/libroot/posix/wcs_test.cpp b/src/tests/system/libroot/posix/wcs_test.cpp index bfb55d5262..75ecd3bed5 100644 --- a/src/tests/system/libroot/posix/wcs_test.cpp +++ b/src/tests/system/libroot/posix/wcs_test.cpp @@ -3,7 +3,7 @@ * Distributed under the terms of the MIT License. */ -#define __USE_GNU +#define _GNU_SOURCE // for wmempcpy() and wcschrnul() #include