mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix broken win32+bsd build
This commit is contained in:
parent
fefec8cdc4
commit
8bb8602c25
@ -278,13 +278,13 @@ inline void setThreadName(const char* name) {
|
||||
* to add this feature please create a pull request.
|
||||
* "setproctitle" doesn't work for threadnames.
|
||||
*/
|
||||
#define setThreadName(a)
|
||||
inline void setThreadName(const char* name) {}
|
||||
#elif defined(_WIN32)
|
||||
// threadnames are not supported on windows
|
||||
#define setThreadName(a)
|
||||
inline void setThreadName(const char* name) {}
|
||||
#else
|
||||
#warning "Unknown platform for setThreadName support, you wont have threadname support."
|
||||
#define setThreadName(a)
|
||||
inline void setThreadName(const char* name) {}
|
||||
#endif
|
||||
|
||||
} // namespace porting
|
||||
|
Loading…
Reference in New Issue
Block a user