pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/40265: audio/flac - portability patch for Solaris < 10
The following reply was made to PR pkg/40265; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/40265: audio/flac - portability patch for Solaris < 10
Date: Thu, 25 Dec 2008 09:45:52 +0900
On Thu, 25 Dec 2008 04:35:00 +0900, <telarson%west.com@localhost> wrote:
> --- include/share/alloc.h.orig Wed Dec 24 12:19:20 2008
> +++ include/share/alloc.h Wed Dec 24 11:32:16 2008
> @@ -29,8 +29,12 @@
>
> #include <limits.h> /* for SIZE_MAX */
> #if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
> +#ifdef HAVE_STDINT_H
> #include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
> +#elif HAVE_INTTYPES_H
> +#include <inttypes.h>
> #endif
> +#endif
> #include <stdlib.h> /* for size_t, malloc(), etc */
>
> #ifndef SIZE_MAX
The comment said that stdint.h is for SIZE_MAX.
Does older Solaris define SIZE_MAX in inttypes.h?
Home |
Main Index |
Thread Index |
Old Index