Hi,

On Tue, Apr 20, 2010 at 14:33,  <sthib...@osl.iu.edu> wrote:
> Author: sthibaul
> Date: 2010-04-20 08:33:33 EDT (Tue, 20 Apr 2010)
> New Revision: 1961
> URL: https://svn.open-mpi.org/trac/hwloc/changeset/1961
>
> Log:
> properly include sched.h to get the sched_setaffinity prototype
> Text files modified:
>   trunk/config/hwloc.m4 |     5 ++++-
>   1 files changed, 4 insertions(+), 1 deletions(-)
>
> Modified: trunk/config/hwloc.m4
> ==============================================================================
> --- trunk/config/hwloc.m4       (original)
> +++ trunk/config/hwloc.m4       2010-04-20 08:33:33 EDT (Tue, 20 Apr 2010)
> @@ -379,7 +379,10 @@
>         AC_MSG_RESULT([yes]),
>         AC_MSG_RESULT([no])
>       )
> -    ])
> +    ], , [[
> +#define GNU_SOURCE

That should be: _GNU_SOURCE. See 'man 7 feature_test_macros'

Bert

> +#include <sched.h>
> +]])
>
>     AC_MSG_CHECKING([for working CPU_SET])
>     AC_LINK_IFELSE(
> _______________________________________________
> hwloc-svn mailing list
> hwloc-...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-svn
>

Reply via email to