This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Use CreateSemaphoreW instead of CreateSemaphoreA in libgcc.
- From: Jacek Caban <cjacek at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Kai Tietz <ktietz70 at googlemail dot com>
- Date: Tue, 17 Sep 2013 13:19:23 +0200
- Subject: Use CreateSemaphoreW instead of CreateSemaphoreA in libgcc.
- Authentication-results: sourceware.org; auth=none
This is no-op for usual GCC targets, because we don't pass any string to
CreateSemaphore anyway. However this trivial change will help
mingw-w64's efforts to support WinRT, where only unicode variant is
available.
libgcc/Changelog:
config/i386/gthr-win32.c: CreateSemaphoreW instead of CreateSemaphoreA.
config/i386/gthr-win32.h: Likewise.