summaryrefslogtreecommitdiff
path: root/thread_win32.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-07 14:25:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-07 14:25:03 +0000
commitac6ed201bf2dd4792c0efae770c2ab12deac9d5c ()
treef36960a8447b34c9c8f33fa772b0cce1b60e5d33 /thread_win32.h
parent0eaefd202a7072aea6a17993c19c8704366ed9f7 (diff)
* thread_win32.h: undefine _WIN32 on cygwin. [ruby-dev:30303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--thread_win32.h10
1 files changed, 7 insertions, 3 deletions
@@ -10,11 +10,15 @@
**********************************************************************/
/* interface */
-#ifndef THREAD_WIN32_H_INCLUDED
-#define THREAD_WIN32_H_INCLUDED
#include <windows.h>
WINBASEAPI BOOL WINAPI
TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection);
@@ -30,5 +34,5 @@ typedef struct native_thread_data_struct {
HANDLE interrupt_event;
} native_thread_data_t;
-#endif /* THREAD_WIN32_H_INCLUDED */