diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-05 04:30:38 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-05 04:30:38 +0000 |
| commit | c8380b883f5db44784b3822c75d1715a169a10ec (patch) | |
| tree | e73a070bb98aecdc5f6fc45b8551badcbddfcac7 /thread_win32.ci | |
| parent | ea2dd850b47a43b97ea42e150e3e03b5102e4754 (diff) | |
| download | ruby-c8380b883f5db44784b3822c75d1715a169a10ec.tar.gz ruby-c8380b883f5db44784b3822c75d1715a169a10ec.tar.xz ruby-c8380b883f5db44784b3822c75d1715a169a10ec.zip | |
* thread_win32.ci: fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.ci')
| -rw-r--r-- | thread_win32.ci | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/thread_win32.ci b/thread_win32.ci index d69cd98a0..1a0ef7d71 100644 --- a/thread_win32.ci +++ b/thread_win32.ci @@ -238,7 +238,7 @@ native_mutex_unlock(rb_thread_lock_t *lock) int native_mutex_trylock(rb_thread_lock_t *lock) { -#if USE_WIN32MUTEX +#if USE_WIN32_MUTEX int result; thread_debug("native_mutex_trylock: %p\n", *lock); result = w32_wait_events(&*lock, 1, 1, 0); @@ -258,7 +258,7 @@ native_mutex_trylock(rb_thread_lock_t *lock) void native_mutex_initialize(rb_thread_lock_t *lock) { -#if USE_WIN32MUTEX +#if USE_WIN32_MUTEX *lock = CreateMutex(NULL, FALSE, NULL); if (*lock == NULL) { w32_error(); @@ -272,7 +272,7 @@ native_mutex_initialize(rb_thread_lock_t *lock) void native_mutex_destroy(rb_thread_lock_t *lock) { -#if USE_WIN32MUTEX +#if USE_WIN32_MUTEX w32_close_handle(lock); #else DeleteCriticalSection(lock); |
