1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Fix glibc warning about _BSD_SOURCE and redefined _GNU_SOURCE (fix #1978) (#2631)

This commit is contained in:
itchyny
2023-06-27 07:25:55 +09:00
committed by GitHub
parent 44c89ad3da
commit e468eaa396

View File

@ -1,5 +1,6 @@
#define _BSD_SOURCE
#define _GNU_SOURCE
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#ifndef __sun__
# define _XOPEN_SOURCE
# define _XOPEN_SOURCE_EXTENDED 1