diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-12-02 17:27:05 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-12-02 17:35:03 +0000 |
commit | e3659329e0b91ea78afe32e231f2f75d3d728af9 (patch) | |
tree | aeee753d498c148238dbfc9531255078eebbaf60 /src/mapi/mapi/u_thread.c | |
parent | af4f75c8fe1c53b8def966f480e7fda8021f1b63 (diff) |
WIN32_THREADS -> WIN32
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS
and were using the integer mutex implementation, causing even confusion
to the debuggers.
And there is little interest of other thread implemenation on Win32
besides Win32 threads.
Diffstat (limited to 'src/mapi/mapi/u_thread.c')
-rw-r--r-- | src/mapi/mapi/u_thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/mapi/u_thread.c b/src/mapi/mapi/u_thread.c index e0fa64ae03..e9eae55364 100644 --- a/src/mapi/mapi/u_thread.c +++ b/src/mapi/mapi/u_thread.c @@ -111,7 +111,7 @@ u_tsd_set(struct u_tsd *tsd, void *ptr) * Be sure that you compile using the Multithreaded runtime, otherwise * bad things will happen. */ -#ifdef WIN32_THREADS +#ifdef WIN32 static void InsteadOf_exit(int nCode) { @@ -172,7 +172,7 @@ u_tsd_set(struct u_tsd *tsd, void *ptr) } } -#endif /* WIN32_THREADS */ +#endif /* WIN32 */ /* * BeOS threads |