diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2014-04-04 21:40:59 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2014-04-04 21:40:59 +0000 |
commit | d3925b72d54420f8d12de613fd8ad99244fd5810 (patch) | |
tree | dfbd3c7257888b1be85de44925902330164e77c4 /newlib/libc/stdio/local.h | |
parent | 6fe5f6bf83035dc35fefd50681b8640ab07c6f25 (diff) | |
download | cygnal-d3925b72d54420f8d12de613fd8ad99244fd5810.tar.gz cygnal-d3925b72d54420f8d12de613fd8ad99244fd5810.tar.bz2 cygnal-d3925b72d54420f8d12de613fd8ad99244fd5810.zip |
2014-04-04 Ashish Kapania <akapania@ti.com>
* configure.host (sys_dir, newlib_cflags): Set sys_dir to tirtos and use
-D__DYNAMIC_REENT__ and -DMALLOC_PROVIDED compiler options for TIRTOS
target.
* libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Change #ifdef
to not define this macro when __tirtos__ is defined.
* libc/sys/tirtos : Add support for TIRTOS.
* libc/sys/tirtos/Makefile.am, libc/sys/tirtos/lock.c: New files.
* libc/sys/tirtos/configure.in, libc/sys/tirtos/include/sys/lock.h: Ditto.
Diffstat (limited to 'newlib/libc/stdio/local.h')
-rw-r--r-- | newlib/libc/stdio/local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/local.h b/newlib/libc/stdio/local.h index ad477485b..24d21360e 100644 --- a/newlib/libc/stdio/local.h +++ b/newlib/libc/stdio/local.h @@ -38,7 +38,7 @@ case _STDIO_CLOSE_PER_REENT_STD_STREAMS is defined these file descriptors will be closed via close() provided the owner of the reent structure triggerd the on demand reent initilization, see CHECK_INIT(). */ -#ifndef __rtems__ +#if !defined(__rtems__) && !defined(__tirtos__) #define _STDIO_CLOSE_PER_REENT_STD_STREAMS #endif |