Avoid redefinition warnings for _GNU_SOURCE. See #19354
This commit is contained in:
@@ -252,12 +252,12 @@
|
||||
# endif
|
||||
# endif /* SGI */
|
||||
|
||||
# if defined(__INNOTEK_LIBC__)
|
||||
# if defined(__INNOTEK_LIBC__) && !defined(_GNU_SOURCE)
|
||||
/* Ensure visibility of strnlen declaration */
|
||||
# define _GNU_SOURCE
|
||||
# endif
|
||||
|
||||
# if defined(__CYGWIN__)
|
||||
# if defined(__CYGWIN__) && !defined(_GNU_SOURCE)
|
||||
/* Ensure visibility of Dl_info and pthread_setconcurrency declarations */
|
||||
# define _GNU_SOURCE
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user