mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-05 14:00:35 +08:00
70ee6b17df
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
22 lines
541 B
C
22 lines
541 B
C
#ifndef _NEWLIB_STDIO_H
|
|
#define _NEWLIB_STDIO_H
|
|
|
|
/* Internal locking macros, used to protect stdio functions. In the
|
|
linux case, expand to flockfile, and funlockfile, both defined in
|
|
LinuxThreads. */
|
|
#if !defined(__SINGLE_THREAD__)
|
|
# if !defined(_flockfile)
|
|
# define _flockfile(fp) flockfile(fp)
|
|
# endif
|
|
# if !defined(_funlockfile)
|
|
# define _funlockfile(fp) funlockfile(fp)
|
|
# endif
|
|
#endif /* __SINGLE_THREAD__ */
|
|
|
|
#define getline __getline
|
|
#define getdelim __getdelim
|
|
|
|
char * ctermid (char *);
|
|
|
|
#endif /* _NEWLIB_STDIO_H */
|