Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: Improve C99 compatibility of pthread_create check #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fweimer-rh
Copy link

Use a fake prototype (similar to the one used by autoconf internally) to avoid calling the undeclared pthread_create function. Otherwie the the check will never succeed with compilers which do not support implicit function declarations. (Implicit function declarations were removed from C99 in 1999.)

Related to:

Use a fake prototype (similar to the one used by autoconf
internally) to avoid calling the undeclared pthread_create function.
Otherwie the the check will never succeed with compilers which
do not support implicit function declarations.  (Implicit function
declarations were removed from C99 in 1999.)
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.

None yet

1 participant