Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stdio.h « sys « linux « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5c51d3b0d5621766ac7815543aaeb3710e4988f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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__ */

#endif /* _NEWLIB_STDIO_H */