mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-01 17:24:38 +03:00
add include cstdef for std::size_t in C++
This commit is contained in:
parent
4ce6821c09
commit
d67ff1ca9f
1 changed files with 1 additions and 0 deletions
|
@ -388,6 +388,7 @@ mi_decl_nodiscard mi_decl_export void* mi_new_reallocn(void* p, size_t newcount,
|
||||||
// ---------------------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------------------
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
|
#include <cstddef> // std::size_t
|
||||||
#include <cstdint> // PTRDIFF_MAX
|
#include <cstdint> // PTRDIFF_MAX
|
||||||
#if (__cplusplus >= 201103L) || (_MSC_VER > 1900) // C++11
|
#if (__cplusplus >= 201103L) || (_MSC_VER > 1900) // C++11
|
||||||
#include <type_traits> // std::true_type
|
#include <type_traits> // std::true_type
|
||||||
|
|
Loading…
Add table
Reference in a new issue