Skip to content
Permalink
Browse files

Fix broken win32+bsd build

  • Loading branch information...
sapier sapier
sapier authored and sapier committed Apr 11, 2014
1 parent fefec8c commit 8bb8602c2533384fdd5ecb95edc5156808a34db5
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/porting.h
@@ -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 comments on commit 8bb8602

Please sign in to comment.
You can’t perform that action at this time.