diff options
| author | Petteri Aimonen <jpa@github.mail.kapsi.fi> | 2019-12-13 08:17:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-13 08:17:21 +0200 |
| commit | 20a2d64bb8e526605a27feb3f734a13bd9f04496 (patch) | |
| tree | 17c89b4372ad2834c859252e6868068d9f6b1816 | |
| parent | c3017d7d74867398dcdcaa21d93c6a0b039b9bca (diff) | |
| parent | d09f7a4396f7379f995ab646329ca54e44a6d705 (diff) | |
Merge pull request #15 from dlech/patch-1
add #include <stdint.h> to int64.h
| -rw-r--r-- | libfixmath/int64.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libfixmath/int64.h b/libfixmath/int64.h index d303259..0479336 100644 --- a/libfixmath/int64.h +++ b/libfixmath/int64.h @@ -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; }
|
