weird #ifdef pattern, reorganized and cleaned it up. easier to understand now.

This commit is contained in:
Arthur Ice 2013-05-21 00:25:12 -07:00
parent a7084b4d6c
commit cdc7b2a000

View File

@ -20,14 +20,6 @@
#include "Condition.h"
#ifdef _WINDOWS
#else
#include <pthread.h>
#include <sys/time.h>
#include <errno.h>
#endif
#ifdef _WINDOWS
Condition::Condition()
{
@ -87,8 +79,10 @@ void Condition::Wait()
LeaveCriticalSection(&CSMutex);
}
#else //!WIN32
#else
#include <pthread.h>
#include <sys/time.h>
#include <errno.h>
Condition::Condition()
{
@ -151,3 +145,4 @@ Condition::~Condition()
}
#endif