summaryrefslogtreecommitdiff
path: root/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-12-19 21:24:41 +0000
committerWerner Koch <wk@gnupg.org>2000-12-19 21:24:41 +0000
commit6626bbbab524a1ea01fdf8694d84777790b98757 (patch)
tree3c4f8ebb6be4e53d6df6b2f2e21d9a1608f52d20 /mpi/mpi-internal.h
parent1aeb5115e4ac73053bc8f6d94bdbc072ba597b2e (diff)
downloadlibgcrypt-6626bbbab524a1ea01fdf8694d84777790b98757.tar.gz
Compiles again
Diffstat (limited to 'mpi/mpi-internal.h')
-rw-r--r--mpi/mpi-internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mpi/mpi-internal.h b/mpi/mpi-internal.h
index 3a7855de..6af3c47b 100644
--- a/mpi/mpi-internal.h
+++ b/mpi/mpi-internal.h
@@ -31,6 +31,8 @@
#define G10_MPI_INTERNAL_H
#include "mpi-asm-defs.h"
+
+#ifndef BITS_PER_MPI_LIMB
#if BYTES_PER_MPI_LIMB == SIZEOF_UNSIGNED_INT
typedef unsigned int mpi_limb_t;
typedef signed int mpi_limb_signed_t;
@@ -47,7 +49,8 @@
#error BYTES_PER_MPI_LIMB does not match any C type
#endif
#define BITS_PER_MPI_LIMB (8*BYTES_PER_MPI_LIMB)
-#define DID_MPI_LIMB_TYPEDEF 1
+#endif /*BITS_PER_MPI_LIMB*/
+
#include "mpi.h"
/* If KARATSUBA_THRESHOLD is not already defined, define it to a