diff options
author | Denys Vlasenko | 2009-07-08 02:58:38 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-08 02:58:38 +0200 |
commit | da49f5852481adb0b3fa0b5ccba93b266f271c35 (patch) | |
tree | 3ab27dafe02a3723658ab2649e8b3ea28b024ac5 /libbb/login.c | |
parent | 95cc814dbd37a4cb5a69b5eac80bd3e5173fe908 (diff) | |
download | busybox-da49f5852481adb0b3fa0b5ccba93b266f271c35.zip busybox-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.gz |
move libc related stuff out of platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/login.c')
-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 98e641c..ba9f4d2 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) case 'm': outbuf = uts.machine; break; -#ifndef HAVE_NO_UTSNAME_DOMAINNAME +/* The field domainname of struct utsname is Linux specific. */ +#if defined(__linux__) case 'D': case 'o': outbuf = uts.domainname; |