summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-25 07:17:14 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-25 07:17:14 +0000
commitec373c3e1c332f814225c3d49ded8217545470e2 (patch)
treeb9cc5dbcd2894baebd2a3fa03157e9c3029988c2 /ruby.h
parent13bc8622a014285983e2ab05acda4616de030f6c (diff)
* ruby.h: don't treat Cygwin as Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.h b/ruby.h
index 9bd6217..4791398 100644
--- a/ruby.h
+++ b/ruby.h
@@ -679,7 +679,7 @@ typedef pthread_t rb_nativethread_t;
# define NATIVETHREAD_CURRENT() pthread_self()
# define NATIVETHREAD_EQUAL(t1,t2) pthread_equal((t1),(t2))
# define HAVE_NATIVETHREAD
-#elif defined(_WIN32) || defined(_WIN32_WCE) || defined(__CYGWIN__)
+#elif defined(_WIN32) || defined(_WIN32_WCE)
typedef DWORD rb_nativethread_t;
# define NATIVETHREAD_CURRENT() GetCurrentThreadId()
# define NATIVETHREAD_EQUAL(t1,t2) ((t1) == (t2))