diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-28 02:07:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-28 02:07:41 +0000 |
commit | 36e925891d6dd0f8a3452d60c125106abb863542 (patch) | |
tree | 0028e4d834ee35769817750fc6eba92e30a5bb38 /cpukit | |
parent | 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-36e925891d6dd0f8a3452d60c125106abb863542.tar.bz2 |
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/userenv.h: Set up LOGIN_NAME_MAX iff not having been
defined before.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/include/rtems/userenv.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 0379f8a54a..144b9054d4 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org> + * include/rtems/userenv.h: Set up LOGIN_NAME_MAX iff not having been + defined before. + +2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org> + * sapi/src/debug.c, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/extensioncreate.c, sapi/src/extensiondelete.c, sapi/src/extensionident.c, sapi/src/fatal.c, sapi/src/io.c, diff --git a/cpukit/include/rtems/userenv.h b/cpukit/include/rtems/userenv.h index 663f97d73a..c8787e51c6 100644 --- a/cpukit/include/rtems/userenv.h +++ b/cpukit/include/rtems/userenv.h @@ -32,12 +32,14 @@ extern "C" { */ #include <limits.h> +#ifndef LOGIN_NAME_MAX #ifdef _POSIX_LOGIN_NAME_MAX #define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX #else /* Fallback */ #define LOGIN_NAME_MAX 9 #endif +#endif typedef struct { rtems_id task_id; |