Merge pull request #15 from dlech/patch-1

add #include <stdint.h> to int64.h
This commit is contained in:
Petteri Aimonen 2019-12-13 08:17:21 +02:00 committed by GitHub
commit 20a2d64bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ extern "C"
{
#endif
#include <stdint.h>
#ifndef FIXMATH_NO_64BIT
static inline int64_t int64_const(int32_t hi, uint32_t lo) { return (((int64_t)hi << 32) | lo); }
static inline int64_t int64_from_int32(int32_t x) { return (int64_t)x; }