Browse Source

_GNU_SOURCE implies all BSD features except ones GNU rejects

Rich Felker 12 years ago
parent
commit
96601e3c61
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/unistd.h

+ 1 - 1
include/unistd.h

@@ -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