aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-06-17 06:08:00 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-06-17 06:08:00 +0000
commitd3c68fc20d892252aa243d2e697386ec54065142 (patch)
tree655b0553374a634aab1896b7e18c12669445488c
parent2fcc2950e43cba7cd677057cde39c2766848616f (diff)
downloadlcd4linux-d3c68fc20d892252aa243d2e697386ec54065142.tar.gz
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
Diffstat (limited to '')
-rw-r--r--plugin_uname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_uname.c b/plugin_uname.c
index ecb0342..a1dce7d 100644
--- a/plugin_uname.c
+++ b/plugin_uname.c
@@ -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