Re: [libvirt] [PATCH v2 1/5] config-post.h: define __GNUC_PREREQ if not defined

2016-06-12 Thread Roman Bogorodskiy
Fabian Freyer wrote: > Several gnulib headers rely on feature.h being included by ctype.h to provide > __GNUC_PREREQ, but on systems without glibc, this is not provided. In these > cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks > in src/internal.h. > Therefore, de

[libvirt] [PATCH v2 1/5] config-post.h: define __GNUC_PREREQ if not defined

2016-06-12 Thread Fabian Freyer
Several gnulib headers rely on feature.h being included by ctype.h to provide __GNUC_PREREQ, but on systems without glibc, this is not provided. In these cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks in src/internal.h. Therefore, define __GNUC_PREREQ as early as pos