From 6f6f230bcfc3d0aabcdf78c800cef43353e86f23 Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Fri, 7 Dec 2018 13:31:31 +0100 Subject: [PATCH] Use stddef.h instead of cstddef if stl is to be avoided --- include/stl_symbols.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/stl_symbols.hpp b/include/stl_symbols.hpp index da776d9..392c9e8 100644 --- a/include/stl_symbols.hpp +++ b/include/stl_symbols.hpp @@ -23,10 +23,15 @@ */ #pragma once +#ifdef PPRINTPP_AVOID_STL +#include +#else #include +#include +#endif + #ifndef PPRINTPP_AVOID_STL -#include #endif #include "typelist.hpp"