1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

Fixed some namespace issues with png and zlib. Changed the way the DBG macro works to allow expressions like DBG ("foo" << 123 << "bar"), so that it's easier to dump out numbers.

This commit is contained in:
Julian Storer 2010-08-02 11:33:05 +01:00
parent dcaa6ceb36
commit d033a859ef
13 changed files with 98 additions and 111 deletions

View file

@ -841,7 +841,7 @@ public:
while (! threadShouldExit())
{
const DWORD result = useExclusiveMode ? WaitForSingleObject (inputDevice->clientEvent, 1000)
const DWORD result = useExclusiveMode ? (inputDevice != 0 ? WaitForSingleObject (inputDevice->clientEvent, 1000) : S_OK)
: WaitForMultipleObjects (numEvents, events, true, 1000);
if (result == WAIT_TIMEOUT)
continue;