aboutsummaryrefslogtreecommitdiff
path: root/src/include/w32functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/w32functions.h')
-rw-r--r--src/include/w32functions.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/include/w32functions.h b/src/include/w32functions.h
index 057a989e..508778c9 100644
--- a/src/include/w32functions.h
+++ b/src/include/w32functions.h
@@ -194,19 +194,6 @@ int MHD_W32_random_(void);
194/* Emulate snprintf function on W32 */ 194/* Emulate snprintf function on W32 */
195int W32_snprintf(char *__restrict s, size_t n, const char *__restrict format, ...); 195int W32_snprintf(char *__restrict s, size_t n, const char *__restrict format, ...);
196 196
197#ifndef _MSC_FULL_VER
198/* Thread name available only for VC-compiler */
199static void W32_SetThreadName(const DWORD thread_id, const char *thread_name)
200{ }
201#else /* _MSC_FULL_VER */
202/**
203 * Set thread name
204 * @param thread_id ID of thread, -1 for current thread
205 * @param thread_name name to set
206 */
207void W32_SetThreadName(const DWORD thread_id, const char *thread_name);
208#endif
209
210#ifdef __cplusplus 197#ifdef __cplusplus
211} 198}
212#endif 199#endif