On 7/6/21 1:19 AM, Jay K wrote:
My intuition would be more like:#include <pthread.h> int main(){ return (int)pthread_create; }
It should be easy to change curl's configure.ac to do that. But pthread_create is a bigger portability minefield than just that. See the Gnulib pthread module, e.g.:
https://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=m4/pthread_h.m4