Automatic selection between <stdint.h> and <cstdint> depending on the C++ standard. This improvement made the library completely independent from the standard C headers in C++11 mode. In C++03 mode, though, some C headers are still needed: <stdint.h>, <math.h>

This commit is contained in:
Pavel Kirienko
2014-03-17 21:15:20 +04:00
parent 81a03b4d5e
commit 41eeae8200
20 changed files with 69 additions and 19 deletions
@@ -4,8 +4,8 @@
#pragma once
#include <stdint.h>
#include <limits>
#include <uavcan/stdint.hpp>
#include <uavcan/data_type.hpp>
#include <uavcan/util/compile_time.hpp>
#include <uavcan/marshal/scalar_codec.hpp>