Changeset 9c9b62d8 in rtems for cpukit/sapi
- Timestamp:
- 07/17/13 09:44:55 (11 years ago)
- Branches:
- 4.11, 5, master
- Children:
- a7ce0ce
- Parents:
- f74d9496
- git-author:
- Sebastian Huber <sebastian.huber@…> (07/17/13 09:44:55)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (07/17/13 11:09:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/include/confdefs.h
rf74d9496 r9c9b62d8 60 60 #else 61 61 #include <bsp.h> 62 #endif 63 64 #ifdef RTEMS_NEWLIB 65 #include <sys/reent.h> 62 66 #endif 63 67 … … 1651 1655 #endif 1652 1656 1657 #if defined(RTEMS_NEWLIB) && defined(__DYNAMIC_REENT__) 1658 struct _reent *__getreent(void) 1659 { 1660 #ifdef CONFIGURE_DISABLE_NEWLIB_REENTRANCY 1661 return _GLOBAL_REENT; 1662 #else 1663 return _Thread_Get_executing()->libc_reent; 1664 #endif 1665 } 1666 #endif 1653 1667 1654 1668 #endif … … 1940 1954 1941 1955 #if (defined(RTEMS_NEWLIB) && !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY)) 1942 #include <reent.h>1943 1944 1956 #define CONFIGURE_MEMORY_PER_TASK_FOR_NEWLIB \ 1945 1957 _Configure_From_workspace(sizeof(struct _reent))
Note: See TracChangeset
for help on using the changeset viewer.