Re: cvs: php-src /ext/standard config.m4 crypt_freesec.c crypt_freesec.h
| From: | Arnaud Le Blanc | Date: | Sat, 23 Aug 2008 19:34:51 +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-52618@lists.php.net to get a copy of this message | ||
On Saturday 23 August 2008 21:21:16 Pierre Joye wrote:
> On Sat, Aug 23, 2008 at 9:15 PM, Arnaud Le Blanc <lbarnaud@php.net> wrote:
> > 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 ;)
>
> HAVE_U_INT32_T is a define or a /D (or whatever uses other compilers) :-)
Yes, but I was speaking about this line:
typedef uint32_t u_int32_t;
>
> --
> Pierre
>
> http://blog.thepimp.net |
> http://www.libgd.org
>
Regards,
Arnaud