Changeset 2d3c472b in rtems
- Timestamp:
- 11/15/02 14:50:44 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 471bcf0
- Parents:
- 8a2e2aaa
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r8a2e2aaa r2d3c472b 1 2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * include/rtems/userenv.h: Rely upon <limits.h> for 4 _POSIX_LOGIN_NAME_MAX. 5 1 6 2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
cpukit/include/rtems/userenv.h
r8a2e2aaa r2d3c472b 25 25 * External structures 26 26 */ 27 #if !defined(LOGIN_NAME_MAX) 28 #if defined(__linux__) 27 28 /* 29 * According to IEEE Std 1003.1-2001, 30 * limits.h is supposed to provide _POSIX_LOGIN_NAME_MAX 31 * FIXME: We should not rely on this. 32 */ 33 #include <limits.h> 34 35 #ifdef _POSIX_LOGIN_NAME_MAX 29 36 #define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX 30 37 #else 31 #error "don't know how to set LOGIN_NAME_MAX" 32 # endif38 /* Fallback */ 39 #define LOGIN_NAME_MAX 9 33 40 #endif 34 41
Note: See TracChangeset
for help on using the changeset viewer.