ardupilot/libraries/AP_Common/missing/cstddef
Lucas De Marchi d80a0e47bc AP_Common: missing: move definitions to standard headers
This way we don't create problems regarding which header to include: we
just include the normal/c++11 headers and everything works as it should.
2016-02-16 19:49:09 -02:00

12 lines
162 B
Plaintext

#pragma once
#include_next <cstddef>
#if defined(HAVE_STD_NULLPTR_T) && !HAVE_STD_NULLPTR_T
namespace std {
typedef decltype(nullptr) nullptr_t;
}
#endif