1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
eban 2003-11-25 07:17:14 +00:00
parent 13bc8622a0
commit ec373c3e1c
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Nov 25 16:15:29 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.h: don't treat Cygwin as Windows.
Tue Nov 25 15:18:28 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* configure.in: change default value of --enable-pthread (default: no)

2
ruby.h
View file

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