Re: AC_CHECK_FUNC vs. function renaming? (curl on tru64/osf1, threads)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux