_GNU_SOURCE implies all BSD features except ones GNU rejects

This commit is contained in:
Rich Felker 2012-05-22 22:07:42 -04:00
parent 671ffab776
commit 96601e3c61
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ extern "C" {
#define SEEK_CUR 1
#define SEEK_END 2
#if defined(_BSD_SOURCE)
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define L_SET 0
#define L_INCR 1
#define L_XTND 2