diff options
author | Christopher Faylor <me@cgf.cx> | 2004-03-26 21:17:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-03-26 21:17:07 +0000 |
commit | 359b6e4c49105718a9ff5341172685d98790dd7e (patch) | |
tree | 83732cc575cd638c635f99c6faf5826dd8212fa3 /winsup/cygwin/include/sys/stdio.h | |
parent | 11a9a1cfbd9eb8f1c3670a253c561915af168407 (diff) | |
download | cygnal-359b6e4c49105718a9ff5341172685d98790dd7e.tar.gz cygnal-359b6e4c49105718a9ff5341172685d98790dd7e.tar.bz2 cygnal-359b6e4c49105718a9ff5341172685d98790dd7e.zip |
add missing files
Diffstat (limited to 'winsup/cygwin/include/sys/stdio.h')
-rw-r--r-- | winsup/cygwin/include/sys/stdio.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/stdio.h b/winsup/cygwin/include/sys/stdio.h new file mode 100644 index 000000000..04d8ffcaf --- /dev/null +++ b/winsup/cygwin/include/sys/stdio.h @@ -0,0 +1,25 @@ +/* sys/stdio.h + + Copyright 2004 Red Hat, Inc. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +#ifndef _SYS_STDIO_H_ +#define _SYS_STDIO_H_ + +#include <sys/lock.h> + +#if !defined(__SINGLE_THREAD__) +# if !defined(_flockfile) +# define _flockfile(fp) __cygwin_lock_lock ((_LOCK_T *)&(fp)->_lock) +# endif +# if !defined(_funlockfile) +# define _funlockfile(fp) __cygwin_lock_unlock ((_LOCK_T *)&(fp)->_lock) +# endif +#endif + +#endif |