From eac317789c1ab8448c962ba72fe4e48790ee2d9f Mon Sep 17 00:00:00 2001 From: toge Date: Thu, 5 Sep 2024 14:05:50 +0900 Subject: [PATCH] support apple-clang --- recipes/statistic/all/test_package/test_package.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/statistic/all/test_package/test_package.cpp b/recipes/statistic/all/test_package/test_package.cpp index 27ce7c1b260be..deb05bca3d505 100644 --- a/recipes/statistic/all/test_package/test_package.cpp +++ b/recipes/statistic/all/test_package/test_package.cpp @@ -1,4 +1,7 @@ #include +#if defined(__cplusplus) && __cplusplus >= 201703L +# define HAVE_STDCXX_LIMITS 1 +#endif #include "Statistic.h" int main(void) {