add header guards to ConvertUTP.h and fixedint.h

This commit is contained in:
arvidn 2018-11-12 01:11:26 +01:00 committed by Arvid Norberg
parent 8d40cf6227
commit e0c1b3403c
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,10 @@
#ifndef FIXEDINT_H_INCLUDED
#define FIXEDINT_H_INCLUDED
#include <cstdint>
typedef std::uint64_t u64;
typedef std::int64_t i64;
typedef std::int32_t i32;
#endif

View File

@ -79,6 +79,9 @@
------------------------------------------------------------------------ */
#ifndef CONVERT_UTF_H_INCLUDED
#define CONVERT_UTF_H_INCLUDED
#include "libtorrent/config.hpp"
#include <cstdint>
using UTF32 = std::uint32_t;
@ -141,3 +144,5 @@ extern const UTF32 offsetsFromUTF8[6];
}
/* --------------------------------------------------------------------- */
#endif // CONVERT_UTF_H_INCLUDED