From 6dec2de7f3ec0fe1de16c20463196da6fc51d210 Mon Sep 17 00:00:00 2001 From: Sven Suursoho Date: Wed, 24 Sep 2008 00:57:44 +0300 Subject: [PATCH] Include system's integer representation header file Depending on platform, it can be stdint.h, cstdint, inttypes.h If none found, define required types ourselves (currently no) --- sol/cstdint.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sol/cstdint.hpp diff --git a/sol/cstdint.hpp b/sol/cstdint.hpp new file mode 100644 index 0000000..e464e31 --- /dev/null +++ b/sol/cstdint.hpp @@ -0,0 +1,22 @@ +#if !defined(sol_cstdint_hpp_included) +#define sol_cstdint_hpp_included +/// \addtogroup sol +/// \{ + + +/** + * \file sol/cstdint.hpp + * \brief Include system cstdint or provide corresponding types + * \author Sven Suursoho + */ + + +#include + +#if defined(SOL_HAS_STDINT_H) + #include +#endif + + +/// \} +#endif // sol_cstdint_hpp_included -- 2.11.4.GIT