We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefec8c commit 8bb8602Copy full SHA for 8bb8602
src/porting.h
@@ -278,13 +278,13 @@ inline void setThreadName(const char* name) {
278
* to add this feature please create a pull request.
279
* "setproctitle" doesn't work for threadnames.
280
*/
281
-#define setThreadName(a)
+inline void setThreadName(const char* name) {}
282
#elif defined(_WIN32)
283
// threadnames are not supported on windows
284
285
#else
286
#warning "Unknown platform for setThreadName support, you wont have threadname support."
287
288
#endif
289
290
} // namespace porting
0 commit comments