Skip to content

Commit

Permalink
fixup! Remove old code and macro-ize implementation
Browse files Browse the repository at this point in the history
`WINBOOL` is only available in MINGW builds, it seems. Let's just use
the standard `BOOL` type that MSVC understands also.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Aug 21, 2017
1 parent 88a3d7f commit b130e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/win32/pthread.h
Expand Up @@ -40,7 +40,7 @@ WINBASEAPI VOID WINAPI
WakeConditionVariable(PCONDITION_VARIABLE ConditionVariable);
WINBASEAPI VOID WINAPI
WakeAllConditionVariable(PCONDITION_VARIABLE ConditionVariable);
WINBASEAPI WINBOOL WINAPI
WINBASEAPI BOOL WINAPI
SleepConditionVariableCS(PCONDITION_VARIABLE ConditionVariable,
PCRITICAL_SECTION CriticalSection,
DWORD dwMilliseconds);
Expand Down

0 comments on commit b130e9d

Please sign in to comment.