mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
ee0daa0a4f
(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 */
|