Apple has no utsbuf.domainname (thanks to Volker Gering)

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@806 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michael
2007-06-17 06:08:00 +00:00
parent 2fcc2950e4
commit d3c68fc20d
+1 -1
View File
@@ -68,7 +68,7 @@ static void my_uname(RESULT * result, RESULT * arg1)
value = utsbuf.version;
} else if (strcasecmp(key, "machine") == 0) {
value = utsbuf.machine;
#ifdef _GNU_SOURCE
#if defined(_GNU_SOURCE) && ! defined(__APPLE__)
} else if (strcasecmp(key, "domainname") == 0) {
value = utsbuf.domainname;
#endif