Changeset d6c20ff3 in rtems for cpukit/include


Ignore:
Timestamp:
Aug 17, 2001, 9:59:28 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7ac1f89
Parents:
1946544
Message:

2001-08-17 Joel Sherrill <joel@…>

  • include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX is defined on GNU/Linux (RedHat? 6.2 distribution).
  • libc/unixlibc.c: Added stubs for rtems_io_register_name() and rtems_io_lookup_name() so UNIX port would compile the IO manager sptest that registers /dev/null.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/libio_.h

    r1946544 rd6c20ff3  
    212212 *  External structures
    213213 */
     214#if !defined(LOGIN_NAME_MAX)
     215#if defined(__linux__)
     216#define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX
     217#else
     218#error "don't know how to set LOGIN_NAME_MAX"
     219#endif
     220#endif
     221
    214222typedef struct {
    215223 rtems_id                         task_id;     
Note: See TracChangeset for help on using the changeset viewer.