summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/mpi/generic/mpi-asm-defs.h
blob: e607806e10dcc4a10d28fa73bf46e8f157caeff8 (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