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.)
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: