aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
5-639/+317 2014-10-15Imported Upstream version 0+git20141009.d26b627upstream/0+git20141009.d26b627Jonathan McCrohan2010-11120/+159271 2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877