Peter Funk:

This patch allows building the Python 'mpzmodule' under SuSE Linux
without having to install the source package of the GMP-libary.
The gmp-mparam.h seems to be an internal header file.  The patch
shouldn't hurt any other platforms.
This commit is contained in:
Guido van Rossum 2000-02-24 15:26:30 +00:00
parent 4aa24f9979
commit e7ef74dbf8

View file

@ -92,7 +92,12 @@ PERFORMANCE OF THIS SOFTWARE.
*/
#include "gmp.h"
#if defined __GLIBC__ && __GLIBC__ >= 2 /*aid building on Linux distributions*/
#define BITS_PER_MP_LIMB mp_bits_per_limb
#else
#include "gmp-mparam.h"
#endif
#if __GNU_MP__ + 0 == 2
#define GMP2