Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by itchyny · committed by GitHub · parent 44c89ad · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:src/builtin.c+3 added-2 removed
1#define _BSD_SOURCE2#define _GNU_SOURCE1#ifndef _GNU_SOURCE2# define _GNU_SOURCE3#endif4#ifndef __sun__5# define _XOPEN_SOURCE6# define _XOPEN_SOURCE_EXTENDED 17#else
1852 unmodified lines