Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Jani Taskinen
Fixed. --Jani On Mon, 24 Nov 2003, Joe Orton wrote: >On Mon, Nov 24, 2003 at 05:47:09PM +0200, Jani Taskinen wrote: >> >> Actually, it propably is okay to just use __GMP_BITS_PER_MP_LIMB >> and not include gmp-mparam.h at all? > >Ah, yes, that looks right: BITS_PER_MP_LIMB

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Joe Orton
On Mon, Nov 24, 2003 at 05:47:09PM +0200, Jani Taskinen wrote: > > Actually, it propably is okay to just use __GMP_BITS_PER_MP_LIMB > and not include gmp-mparam.h at all? Ah, yes, that looks right: BITS_PER_MP_LIMB is only defined for arches where gmp has an assembler implementation; if g

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Jani Taskinen
Actually, it propably is okay to just use __GMP_BITS_PER_MP_LIMB and not include gmp-mparam.h at all? --Jani On Mon, 24 Nov 2003, Jani Taskinen wrote: > > That would be strange since I have the same GMP version.. > With these RH9 rpms: > > gmp-4.1.2-2 >

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Jani Taskinen
That would be strange since I have the same GMP version.. With these RH9 rpms: gmp-4.1.2-2 gmp-devel-4.1.2-2 Some other buggie..? --Jani On Mon, 24 Nov 2003, Joe Orton wrote: >On Wed, Nov 19, 2003 at 04:44:07AM -, Jani Taskinen wrote: >.

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Joe Orton
On Wed, Nov 19, 2003 at 04:44:07AM -, Jani Taskinen wrote: ... ... > + > + GMPG(rand_initialized) = 1; > + } > + mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * > BITS_PER_MP_LIMB); > Do you have a release of gmp older than 4.1.2 maybe? There is only _