Skip to content

Commit

Permalink
Use stddef.h instead of cstddef if stl is to be avoided
Browse files Browse the repository at this point in the history
  • Loading branch information
tfc committed Dec 7, 2018
1 parent 5214d0e commit 6f6f230
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/stl_symbols.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@
*/
#pragma once

#ifdef PPRINTPP_AVOID_STL
#include <stddef.h>
#else
#include <cstddef>
#include <type_traits>
#endif


#ifndef PPRINTPP_AVOID_STL
#include <type_traits>
#endif
#include "typelist.hpp"

Expand Down

0 comments on commit 6f6f230

Please sign in to comment.