diff options
author | Jacek Caban <jacek@codeweavers.com> | 2013-09-17 11:46:47 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2013-09-17 13:46:47 +0200 |
commit | dff717d29b17e8da5a17890ad8393cb5ea959b41 (patch) | |
tree | d72219739a85532801e1cf37a5c5b8761a4ce9a6 /libgcc/config/i386/gthr-win32.h | |
parent | 78bbd7655eb53cf2d0fcdf45f250a3b40e51f35a (diff) | |
download | gcc-dff717d29b17e8da5a17890ad8393cb5ea959b41.zip gcc-dff717d29b17e8da5a17890ad8393cb5ea959b41.tar.gz gcc-dff717d29b17e8da5a17890ad8393cb5ea959b41.tar.bz2 |
gthr-win32.c: CreateSemaphoreW instead of CreateSemaphoreA.
2013-09-17 Jacek Caban <jacek@codeweavers.com>
* config/i386/gthr-win32.c: CreateSemaphoreW instead of
CreateSemaphoreA.
* config/i386/gthr-win32.h: Likewise.
From-SVN: r202648
Diffstat (limited to 'libgcc/config/i386/gthr-win32.h')
-rw-r--r-- | libgcc/config/i386/gthr-win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/config/i386/gthr-win32.h b/libgcc/config/i386/gthr-win32.h index d2e729a..1e437fc 100644 --- a/libgcc/config/i386/gthr-win32.h +++ b/libgcc/config/i386/gthr-win32.h @@ -635,7 +635,7 @@ static inline void __gthread_mutex_init_function (__gthread_mutex_t *__mutex) { __mutex->counter = -1; - __mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); + __mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL); } static inline void @@ -697,7 +697,7 @@ __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) __mutex->counter = -1; __mutex->depth = 0; __mutex->owner = 0; - __mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL); + __mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL); } static inline int |