Commit e52a4d65 authored by Guido van Rossum's avatar Guido van Rossum

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.
parent 5487eeef
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment