diff options
-rw-r--r-- | plugin_uname.c | 2 |
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 |