summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2016-10-30 19:27:07 +0000
committermichi_cc <michi_cc@openttd.org>2016-10-30 19:27:07 +0000
commit51052f4961cea7203d2291b9b70ae865602b469e (patch)
tree8857cf2693b5173aa8d7f3b40647b4dec5f1dd57 /src/os
parentc83306391e78d660b4c7b1bfef4008ccd5c7e172 (diff)
downloadopenttd-51052f4961cea7203d2291b9b70ae865602b469e.tar.xz
(svn r27674) -Fix (r27673): Mingw...
Diffstat (limited to 'src/os')
-rw-r--r--src/os/windows/win32.h2
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 */