Re: cvs: php-src /ext/standard config.m4 crypt_freesec.c crypt_freesec.h
| From: | Arnaud Le Blanc | Date: | Sat, 23 Aug 2008 19:15:35 +0000 |
| Subject: | Re: cvs: php-src /ext/standard config.m4 crypt_freesec.c crypt_freesec.h | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-52615@lists.php.net to get a copy of this message | ||
Hi,
On Saturday 23 August 2008 20:16:16 Pierre Joye wrote:
> hi,
>
> >> > +# ifndef HAVE_U_INT32_T
> >> > + typedef uint32_t u_int32_t;
> >> > +# endif
> >> > +#endif
> >>
> >> I don't understand this part. If HAVE_U_INT32_T is not defined, you
> >> still use u_int32_t?
> >
> > If HAVE_U_INT32_T is not defined that means that u_int32_t is not defined.
> > So I define u_int32_t it to uint32_t. This makes sense for me.
>
> It defines unint32_t not u_int32_t. The define should be HAVE_UINT32_T
> if what you test is uint32_t.
This is a typedef, not a #define ;)
>
> Cheers,
> --
> Pierre
>
> http://blog.thepimp.net | ‡ò[ƒxÐZì
> ÎÏeÐhttp://www.libgd.org
>
Regards,
Arnaud