Patch is ok, Thanks, Kai
2013/11/16 Rafaël Carré <fun...@videolan.org>: > --- > mingw-w64-headers/include/winbase.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/mingw-w64-headers/include/winbase.h > b/mingw-w64-headers/include/winbase.h > index 93a0eb6..30acd12 100644 > --- a/mingw-w64-headers/include/winbase.h > +++ b/mingw-w64-headers/include/winbase.h > @@ -1487,10 +1487,13 @@ extern "C" { > #define SHUTDOWN_NORETRY 0x1 > #endif > > +#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || > defined(WINSTORECOMPAT) > +#define CreateSemaphore __MINGW_NAME_AW(CreateSemaphore) > + WINBASEAPI HANDLE WINAPI CreateSemaphoreW (LPSECURITY_ATTRIBUTES > lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCWSTR > lpName); > +#endif > #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) > WINBASEAPI HANDLE WINAPI OpenMutexA (DWORD dwDesiredAccess, WINBOOL > bInheritHandle, LPCSTR lpName); > WINBASEAPI HANDLE WINAPI CreateSemaphoreA (LPSECURITY_ATTRIBUTES > lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName); > - WINBASEAPI HANDLE WINAPI CreateSemaphoreW (LPSECURITY_ATTRIBUTES > lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCWSTR > lpName); > WINBASEAPI HANDLE WINAPI OpenSemaphoreA (DWORD dwDesiredAccess, WINBOOL > bInheritHandle, LPCSTR lpName); > WINBASEAPI HANDLE WINAPI CreateWaitableTimerA (LPSECURITY_ATTRIBUTES > lpTimerAttributes, WINBOOL bManualReset, LPCSTR lpTimerName); > WINBASEAPI HANDLE WINAPI CreateWaitableTimerW (LPSECURITY_ATTRIBUTES > lpTimerAttributes, WINBOOL bManualReset, LPCWSTR lpTimerName); > @@ -1515,7 +1518,6 @@ extern "C" { > #define GetLogicalDriveStrings GetLogicalDriveStringsA > #endif > > -#define CreateSemaphore __MINGW_NAME_AW(CreateSemaphore) > #define CreateWaitableTimer __MINGW_NAME_AW(CreateWaitableTimer) > #define LoadLibrary __MINGW_NAME_AW(LoadLibrary) > > -- > 1.8.3.2 > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public