diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-01-13 19:51:37 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-01-13 19:51:37 +0300 |
commit | 811de4bff30b41fdddb99be25cd3d41d039e2919 (patch) | |
tree | 1542d217ccece9ce72277fdc011170b4f3d8bf54 /winsup/cygwin/include/fcntl.h | |
parent | 2e31b6574a529ddea1ca303e68a0f4e7f6c3e36f (diff) |
* include/fcntl.h (O_TTY_INIT): Define as 0.
Diffstat (limited to 'winsup/cygwin/include/fcntl.h')
-rw-r--r-- | winsup/cygwin/include/fcntl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/include/fcntl.h b/winsup/cygwin/include/fcntl.h index 0ef798815..1aff1b74b 100644 --- a/winsup/cygwin/include/fcntl.h +++ b/winsup/cygwin/include/fcntl.h @@ -1,6 +1,6 @@ /* fcntl.h - Copyright 1996, 1998, 2001, 2005, 2006, 2009 Red Hat, Inc. + Copyright 1996, 1998, 2001, 2005, 2006, 2009, 2010 Red Hat, Inc. This file is part of Cygwin. @@ -20,6 +20,10 @@ details. */ #define _FDIRECTORY 0x200000 #define _FEXECSRCH 0x400000 +/* POSIX-1.2008 requires this flag and allows to set it to 0 if its + functionality is not required. */ +#define O_TTY_INIT 0 + #define O_DIRECT _FDIRECT #define O_NOFOLLOW _FNOFOLLOW #define O_DSYNC _FSYNC |