mirror of
https://github.com/curl/curl.git
synced 2026-04-30 15:17:51 +03:00
build: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r
This commit is contained in:
parent
eb3e383390
commit
08c8d5b89a
1 changed files with 7 additions and 0 deletions
|
|
@ -112,6 +112,13 @@
|
|||
# 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, */
|
||||
/* please, do it beyond the point further indicated in this file. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue