
(who else) uses Thread in winbase.h, and starts complaining if you define it otherwise (with weird, undefined errors) (tnx Arnau and Rubidium)
14 lines
240 B
C
14 lines
240 B
C
/* $Id$ */
|
|
|
|
#ifndef THREAD_H
|
|
#define THREAD_H
|
|
|
|
typedef struct OTTDThread OTTDThread;
|
|
|
|
typedef void* (*OTTDThreadFunc)(void*);
|
|
|
|
OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
|
|
void* OTTDJoinThread(OTTDThread*);
|
|
|
|
#endif /* THREAD_H */
|