зеркало из https://github.com/github/ruby.git
* 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:
Родитель
13bc8622a0
Коммит
ec373c3e1c
|
@ -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
2
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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче