[*] Use C++ inttypes.h instead of cstdint

This commit is contained in:
Reece Wilson 2020-09-25 15:27:33 +01:00 committed by Reece
parent 524b3cd7dd
commit 65157112a2

View File

@ -1,13 +1,13 @@
#ifndef __CONFIG_TYPES_H__ #ifndef __CONFIG_TYPES_H__
#define __CONFIG_TYPES_H__ #define __CONFIG_TYPES_H__
#include <cstdint> #include <inttypes.h>
typedef std::int16_t ogg_int16_t; typedef int16_t ogg_int16_t;
typedef std::uint32_t ogg_uint16_t; typedef uint32_t ogg_uint16_t;
typedef std::int32_t ogg_int32_t; typedef int32_t ogg_int32_t;
typedef std::uint32_t ogg_uint32_t; typedef uint32_t ogg_uint32_t;
typedef std::int64_t ogg_int64_t; typedef int64_t ogg_int64_t;
typedef std::uint64_t ogg_uint64_t; typedef uint64_t ogg_uint64_t;
#endif #endif