diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/os/windows/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/windows/win32.h b/src/os/windows/win32.h index c3ded817a..16632f6e9 100644 --- a/src/os/windows/win32.h +++ b/src/os/windows/win32.h @@ -42,7 +42,7 @@ HRESULT OTTDSHGetFolderPath(HWND, int, HANDLE, DWORD, LPTSTR); #ifdef _MSC_VER void SetWin32ThreadName(DWORD dwThreadID, const char* threadName); #else -void SetWin32ThreadName(DWORD dwThreadID, const char* threadName) {} +static inline void SetWin32ThreadName(DWORD dwThreadID, const char* threadName) {} #endif #endif /* WIN32_H */ |