Ensure visibility of needed Cygwin declarations
Dl_info requires __GNU_VISIBLE be defined; and, pthread_setconcurrency requires __XSI_VISIBLE >= 500. Defining _GNU_SOURCE satifies both of the above needs.
This commit is contained in:
parent
cd2e3dd2cf
commit
04cf2038e9
1 changed files with 5 additions and 0 deletions
|
|
@ -280,6 +280,11 @@
|
|||
# if defined(__INNOTEK_LIBC__)
|
||||
/* Ensure visibility of strnlen declaration */
|
||||
# define _GNU_SOURCE
|
||||
# endif
|
||||
|
||||
# if defined(__CYGWIN__)
|
||||
/* Ensure visibility of Dl_info and pthread_setconcurrency declarations */
|
||||
# define _GNU_SOURCE
|
||||
# endif
|
||||
|
||||
/* define __HPUX__ for HP-UX where standard macro is __hpux */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue