diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-08 02:58:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-08 02:58:38 +0200 |
commit | da49f5852481adb0b3fa0b5ccba93b266f271c35 (patch) | |
tree | 3ab27dafe02a3723658ab2649e8b3ea28b024ac5 /libbb | |
parent | 95cc814dbd37a4cb5a69b5eac80bd3e5173fe908 (diff) | |
download | busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.gz busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.bz2 busybox-w32-da49f5852481adb0b3fa0b5ccba93b266f271c35.zip |
move libc related stuff out of platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/login.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/login.c b/libbb/login.c index 98e641cce..ba9f4d2b5 100644 --- a/libbb/login.c +++ b/libbb/login.c | |||
@@ -62,7 +62,8 @@ void FAST_FUNC print_login_issue(const char *issue_file, const char *tty) | |||
62 | case 'm': | 62 | case 'm': |
63 | outbuf = uts.machine; | 63 | outbuf = uts.machine; |
64 | break; | 64 | break; |
65 | #ifndef HAVE_NO_UTSNAME_DOMAINNAME | 65 | /* The field domainname of struct utsname is Linux specific. */ |
66 | #if defined(__linux__) | ||
66 | case 'D': | 67 | case 'D': |
67 | case 'o': | 68 | case 'o': |
68 | outbuf = uts.domainname; | 69 | outbuf = uts.domainname; |