summaryrefslogtreecommitdiff
path: root/utils/have_64_bits.h
blob: d1e6064fc07cd3afb4af5bcaa9f36b458365210a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef HAVE_64_BITS_H
#define HAVE_64_BITS_H

#include <stdint.h>

#undef HAVE_64_BITS

#if INTPTR_MAX == INT32_MAX
# define HAVE_64_BITS 0
#elif INTPTR_MAX >= INT64_MAX
# define HAVE_64_BITS 1
#else
# error "couldn't tell if HAVE_64_BITS from INTPTR_MAX INT32_MAX INT64_MAX"
#endif


#endif