[ofa-general] Re: [PATCH] ibsim - Fix umad2sim build with glibc >= 2.10
Sasha Khapyorsky
sashak at voltaire.com
Mon Jul 27 08:31:41 PDT 2009
On 13:37 Mon 27 Jul , sebastien dugue wrote:
>
> Hi Sasha,
>
> Starting with glibc 2.10 scandir() was made POSIX compliant which changed
> the prototype if the comparison function from:
>
> int (*compar) (const void *, const void *)
>
> to:
>
> int (*compar) (const struct dirent **, const struct dirent **)
>
> This patch detects glibc's version to use the correct prototype.
>
> Signed-off-by: Sebastien Dugue <sebastien.dugue at bull.net>
Applied. Thanks.
Sasha
More information about the general
mailing list