summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/mpi/mpi-asm-defs.h
blob: 1cf642dabf034faa7b563fa6dc409d0d997dc196 (plain)
1
2
3
4
5
6
7
8
/* This file defines some basic constants for the MPI machinery.
 * AMD64 compiled for the x32 ABI is special and thus we can't use the
 * standard values for this ABI.  */
#if __GNUC__ >= 3 && defined(__x86_64__) && defined(__ILP32__)
#define BYTES_PER_MPI_LIMB 8
#else
#define BYTES_PER_MPI_LIMB  (SIZEOF_UNSIGNED_LONG)
#endif