add header guards to ConvertUTP.h and fixedint.h
This commit is contained in:
parent
8d40cf6227
commit
e0c1b3403c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue