* libc/include/stdio.h (FILE): Protect typedef from redefinition.
* libc/include/wchar.h: Ditto.
This commit is contained in:
parent
5e99eb1104
commit
5a97e28f6a
|
@ -1,3 +1,8 @@
|
|||
2015-03-05 Craig Howland <howland@LGSInnovations.com>
|
||||
|
||||
* libc/include/stdio.h (FILE): Protect typedef from redefinition.
|
||||
* libc/include/wchar.h: Ditto.
|
||||
|
||||
2015-02-25 Gedare Bloom <gedare@rtems.org>
|
||||
|
||||
* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
|
||||
|
|
|
@ -49,7 +49,10 @@
|
|||
|
||||
_BEGIN_STD_C
|
||||
|
||||
#if !defined(__FILE_defined)
|
||||
typedef __FILE FILE;
|
||||
# define __FILE_defined
|
||||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
typedef _fpos64_t fpos_t;
|
||||
|
|
|
@ -49,7 +49,10 @@
|
|||
_BEGIN_STD_C
|
||||
|
||||
/* As in stdio.h, <sys/reent.h> defines __FILE. */
|
||||
#if !defined(__FILE_defined)
|
||||
typedef __FILE FILE;
|
||||
# define __FILE_defined
|
||||
#endif
|
||||
|
||||
/* As required by POSIX.1-2008, declare tm as incomplete type.
|
||||
The actual definition is in time.h. */
|
||||
|
|
Loading…
Reference in New Issue