diff options
author | Werner Koch <wk@gnupg.org> | 2000-12-19 21:24:41 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2000-12-19 21:24:41 +0000 |
commit | 6626bbbab524a1ea01fdf8694d84777790b98757 (patch) | |
tree | 3c4f8ebb6be4e53d6df6b2f2e21d9a1608f52d20 /mpi | |
parent | 1aeb5115e4ac73053bc8f6d94bdbc072ba597b2e (diff) | |
download | libgcrypt-6626bbbab524a1ea01fdf8694d84777790b98757.tar.gz |
Compiles again
Diffstat (limited to 'mpi')
-rw-r--r-- | mpi/ChangeLog | 2 | ||||
-rw-r--r-- | mpi/Makefile.am | 4 | ||||
-rw-r--r-- | mpi/mpi-internal.h | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog index b2f72b26..e41f1144 100644 --- a/mpi/ChangeLog +++ b/mpi/ChangeLog @@ -1,5 +1,7 @@ 2000-12-19 Werner Koch <wk@gnupg.org> + * mpi-internal.h: Put limb_t definition in an ifdef. + Major change: Removed all GnuPG stuff and renamed this piece of software to gcrypt. diff --git a/mpi/Makefile.am b/mpi/Makefile.am index a9df442e..25041e87 100644 --- a/mpi/Makefile.am +++ b/mpi/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -INCLUDES = -I$(top_srcdir)/gcrypt +INCLUDES = -I$(top_srcdir)/src CFLAGS = @CFLAGS@ @MPI_OPT_FLAGS@ ASFLAGS = @MPI_SFLAGS@ @@ -64,5 +64,3 @@ libmpi_la_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@ # $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' > _$*.s # $(COMPILE) -c _$*.s # mv -f _$*.o $*.o - - 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 |