From e724064b9b0a34bc1a4d4751b6c6cfca092e3178 Mon Sep 17 00:00:00 2001 From: minmingong Date: Fri, 20 Dec 2024 12:36:54 -0800 Subject: [PATCH] Don't include the when C++20 is not available --- include/memPool.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/memPool.h b/include/memPool.h index 1af55d9..569d1e7 100644 --- a/include/memPool.h +++ b/include/memPool.h @@ -29,7 +29,9 @@ #define MEMPOOL_H #include +#if __cplusplus >= 202002L #include +#endif #include #include