diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-03-27 12:55:05 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-03-27 12:55:05 +0300 |
commit | 4af0c5e8f3ebc327f9fbb2302ba78097e08e47fe (patch) | |
tree | c986d4741d5638e33f998a35dbb238b3cf9910d1 /newlib/libc/include | |
parent | 93d606f60aed779c555017828656c8a4e3c9c6a9 (diff) |
* libc/include/sys/unistd.h: Declare lockf(2) and define lockf
constants when building for Cygwin.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 072e6fe71..025951819 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -103,7 +103,7 @@ int _EXFUN(nice, (int __nice_value )); #if !defined(__INSIDE_CYGWIN__) off_t _EXFUN(lseek, (int __fildes, off_t __offset, int __whence )); #endif -#if defined(__SPU__) +#if defined(__SPU__) || defined(__CYGWIN__) #define F_ULOCK 0 #define F_LOCK 1 #define F_TLOCK 2 |