Skip to content

Conversation

@fweimer-rh
Copy link

This ensures that sched_setaffinity is declared in <sched.h> when building against glibc, so that there is no implicit function declaration in netlib.c.

Related to:

This ensures that sched_setaffinity is declared in <sched.h>
when building against glibc, so that there is no implicit
function declaration in netlib.c.
@dankamongmen
Copy link

dankamongmen commented Jan 18, 2023

@fweimer-rh , i was going to point you at my #74 which i just did before seeing this. with that said, you're florian-freakin'-weimar, and who am i to correct you? but i do believe AC_GNU_SOURCE has been deprecated in favor of AC_USE_SYSTEM_EXTENSIONS, which i used in #74.

from specific.m4 from debian's autoconf 2.71-3:

# AC_GNU_SOURCE
# -------------
AU_DEFUN([AC_GNU_SOURCE], [AC_USE_SYSTEM_EXTENSIONS])

@fweimer-rh
Copy link
Author

#74 with AC_USE_SYSTEM_EXTENSIONS will work for us downstream, too, thanks.

@fweimer-rh fweimer-rh closed this Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants