(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:
8
thread.h
8
thread.h
@@ -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 */
|
||||
|
Reference in New Issue
Block a user