cosmetics: thread.c: drop a redundant comment

+ fix #if/#else/#endif comment

Change-Id: I76bfd3b123ed181897ed0feba721d5c1a3a2b0d7
This commit is contained in:
James Zern 2013-07-31 22:54:43 -07:00
parent 8924a3a704
commit da41148560

View File

@ -126,14 +126,14 @@ static int pthread_cond_wait(pthread_cond_t* const condition,
return !ok; return !ok;
} }
#else // _WIN32 #else // !_WIN32
# define THREADFN void* # define THREADFN void*
# define THREAD_RETURN(val) val # define THREAD_RETURN(val) val
#endif #endif // _WIN32
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
static THREADFN ThreadLoop(void* ptr) { // thread loop static THREADFN ThreadLoop(void* ptr) {
WebPWorker* const worker = (WebPWorker*)ptr; WebPWorker* const worker = (WebPWorker*)ptr;
int done = 0; int done = 0;
while (!done) { while (!done) {