(svn r5943) -Merge TGP (part r5725): -Codechange: renamed Thread to OTTDThread, as Windows

(who else) uses Thread in winbase.h, and starts complaining if you define it
  otherwise (with weird, undefined errors) (tnx Arnau and Rubidium)
This commit is contained in:
truelight
2006-08-19 09:23:48 +00:00
parent 7cfd3eb618
commit ee0daa0a4f
3 changed files with 23 additions and 23 deletions

View File

@@ -3,11 +3,11 @@
#ifndef THREAD_H
#define THREAD_H
typedef struct Thread Thread;
typedef struct OTTDThread OTTDThread;
typedef void* (*ThreadFunc)(void*);
typedef void* (*OTTDThreadFunc)(void*);
Thread* OTTDCreateThread(ThreadFunc, void*);
void* OTTDJoinThread(Thread*);
OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void* OTTDJoinThread(OTTDThread*);
#endif /* THREAD_H */