* libc/include/sys/unistd.h: Declare lockf(2) and define lockf

constants when building for Cygwin.
This commit is contained in:
Corinna Vinschen 2008-03-27 09:55:05 +00:00
parent 93d606f60a
commit 4af0c5e8f3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-27 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/unistd.h: Declare lockf(2) and define lockf
constants when building for Cygwin.
2008-03-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure

View File

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