summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/sys/stdio.h
blob: 859406f3ffde7c74d8ae54d541cb5a5b3067ce47 (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) /* FIXME: Uncomment when LinuxThreads is in: flockfile(fp) */
#  endif
#  if !defined(_funlockfile)
#    define _funlockfile(fp) /* FIXME: Uncomment when LinuxThreads is in: funlockfile(fp) */
#  endif
#endif /* __SINGLE_THREAD__ */

#endif /* _NEWLIB_STDIO_H */