1 // Copyright 2016 The Fuchsia Authors
2 //
3 // Use of this source code is governed by a MIT-style
4 // license that can be found in the LICENSE file or at
5 // https://opensource.org/licenses/MIT
6 
7 // use the GCC builtins until we need something ourselves
8 #if !defined(_GCC_LIMITS_H_)
9 #include_next <limits.h>
10 #endif
11 
12 #ifndef LLONG_MAX
13 #define LLONG_MAX __LONG_LONG_MAX__
14 #endif
15 #ifndef ULLONG_MAX
16 #define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
17 #endif
18 #ifndef LLONG_MIN
19 #define LLONG_MIN (-LLONG_MAX - 1LL)
20 #endif
21