more cygwin fixes

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1002 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michux
2009-03-26 08:06:12 +00:00
parent e535da4cd0
commit b83507bad6
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -30,7 +30,7 @@
#ifndef _THREAD_H_
#define _THREAD_H_
#ifdef CYGWIN
#ifdef __CYGWIN__
#ifndef HAVE_UNION_SEMUN
union semun