aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-26 08:06:12 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-26 08:06:12 +0000
commitb83507bad699d4c9d3387d52d2aa41e29399ea41 (patch)
treecdda0bb92d6080e25b02e080c5118d54dac1eed2
parente535da4cd01aa8b4e35958707d9bafe7cdc6b24d (diff)
downloadlcd4linux-b83507bad699d4c9d3387d52d2aa41e29399ea41.tar.gz
more cygwin fixes
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1002 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--plugin_uname.c2
-rw-r--r--thread.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin_uname.c b/plugin_uname.c
index 77ac4ca..d2a561d 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;
-#if defined(_GNU_SOURCE) && ! defined(__APPLE__)
+#if defined(_GNU_SOURCE) && ! defined(__APPLE__) && ! defined(__CYGWIN__)
} else if (strcasecmp(key, "domainname") == 0) {
value = utsbuf.domainname;
#endif
diff --git a/thread.h b/thread.h
index f902d7e..be1bcd5 100644
--- a/thread.h
+++ b/thread.h
@@ -30,7 +30,7 @@
#ifndef _THREAD_H_
#define _THREAD_H_
-#ifdef CYGWIN
+#ifdef __CYGWIN__
#ifndef HAVE_UNION_SEMUN
union semun