summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:05 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:05 +0000
commiteff162b5fca36542d7e0f1abdfc95fd9bfdb943b (patch)
tree1822132a51892916aa3819f806da7ef0ac908953
parent4a33b396f2e336c6121b24c2b66bff96f1b5cab2 (diff)
downloadxorg-proto-x11proto-CYGWIN.tar.gz
Import changes from XORG-6.8.2CYGWIN-6_8_2-MERGECYGWIN
-rw-r--r--Xos.h4
-rw-r--r--Xthreads.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Xos.h b/Xos.h
index a44eda7..51079e1 100644
--- a/Xos.h
+++ b/Xos.h
@@ -1,5 +1,5 @@
/*
- * $XdotOrg: xc/include/Xos.h,v 1.2 2004/04/23 18:43:05 eich Exp $
+ * $XdotOrg$
* $Xorg: Xos.h,v 1.6 2001/02/09 02:03:22 xorgcvs Exp $
*
*
@@ -276,7 +276,7 @@ typedef unsigned long fd_mask;
#endif
#if defined(ISC) || defined(__UNIXOS2__) || \
- (defined(linux) && !defined(__GLIBC__)) || \
+ (defined(__linux__) && !defined(__GLIBC__)) || \
(defined(__QNX__) && !defined(UNIXCONN))
/*
* Some OS's may not have this
diff --git a/Xthreads.h b/Xthreads.h
index 8d4f4e8..5381899 100644
--- a/Xthreads.h
+++ b/Xthreads.h
@@ -267,7 +267,7 @@ static xthread_t _X_no_thread_id;
#define xthread_clear_id(id) id = _X_no_thread_id
#define xthread_equal(id1,id2) pthread_equal(id1, id2)
#endif /* _DECTHREADS_ */
-#if defined(linux)
+#if defined(__linux__)
#define xthread_have_id(id) !pthread_equal(id, 0)
#define xthread_clear_id(id) id = 0
#define xthread_equal(id1,id2) pthread_equal(id1, id2)