aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_uname.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-04-27 19:28:49 +0200
committerReinhard Tartler <siretart@tauware.de>2011-04-27 19:28:49 +0200
commit4cd9f4d9071a672debd83b4cc1c5d57dc63b8549 (patch)
tree095c755ba2cc77198dfc85b45afd129b1e638d56 /plugin_uname.c
parent18590c85ce8d68b155828a4aa400105812aeb75d (diff)
parent181cec4348da40331b3e8ab365732c025ec149b2 (diff)
downloadlcd4linux-4cd9f4d9071a672debd83b4cc1c5d57dc63b8549.tar.gz
New upstream snapshot
Diffstat (limited to 'plugin_uname.c')
-rw-r--r--plugin_uname.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin_uname.c b/plugin_uname.c
index 596cca6..9f1c3b0 100644
--- a/plugin_uname.c
+++ b/plugin_uname.c
@@ -1,9 +1,9 @@
-/* $Id: plugin_uname.c 728 2007-01-14 11:14:38Z michael $
- * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/plugin_uname.c $
+/* $Id: plugin_uname.c 1002 2009-03-26 08:06:12Z michux $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_uname.c $
*
* plugin for uname() syscall
*
- * Copyright (C) 2003 Michael Reinelt <reinelt@eunet.at>
+ * Copyright (C) 2003 Michael Reinelt <michael@reinelt.co.at>
* Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* This file is part of LCD4Linux.
@@ -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__) && ! defined(__CYGWIN__)
} else if (strcasecmp(key, "domainname") == 0) {
value = utsbuf.domainname;
#endif