Skip to content
Snippets Groups Projects
Commit 8bb8602c authored by sapier's avatar sapier
Browse files

Fix broken win32+bsd build

parent fefec8cd
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment