projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671ffab
)
_GNU_SOURCE implies all BSD features except ones GNU rejects
author
Rich Felker
<dalias@aerifal.cx>
Wed, 23 May 2012 02:07:42 +0000
(22:07 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 23 May 2012 02:07:42 +0000
(22:07 -0400)
include/unistd.h
patch
|
blob
|
history
diff --git
a/include/unistd.h
b/include/unistd.h
index 37671fa4e3a84542e5133acc872d8741ebdccf43..9287338cb2a1c5faaeae30b17585184e525ab3ba 100644
(file)
--- a/
include/unistd.h
+++ b/
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