add missing files
This commit is contained in:
25
winsup/cygwin/include/sys/stdio.h
Normal file
25
winsup/cygwin/include/sys/stdio.h
Normal file
@ -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
|
Reference in New Issue
Block a user