1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

build: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r

This commit is contained in:
Dan Fandrich 2014-07-14 10:40:33 +02:00
parent eb3e383390
commit 08c8d5b89a

View File

@ -112,6 +112,13 @@
# endif # endif
#endif #endif
/* Solaris needs this to get a POSIX-conformant getpwuid_r */
#if defined(sun) || defined(__sun)
# ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
# endif
#endif
/* ================================================================ */ /* ================================================================ */
/* If you need to include a system header file for your platform, */ /* If you need to include a system header file for your platform, */
/* please, do it beyond the point further indicated in this file. */ /* please, do it beyond the point further indicated in this file. */