diff options
Diffstat (limited to 'src/microhttpd/mhd_threads.c')
-rw-r--r-- | src/microhttpd/mhd_threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_threads.c b/src/microhttpd/mhd_threads.c index 628a628f..95fc70a6 100644 --- a/src/microhttpd/mhd_threads.c +++ b/src/microhttpd/mhd_threads.c | |||
@@ -163,7 +163,8 @@ MHD_set_thread_name_ (const MHD_thread_ID_ thread_id, | |||
163 | * @param n name to set | 163 | * @param n name to set |
164 | * @return non-zero on success, zero otherwise | 164 | * @return non-zero on success, zero otherwise |
165 | */ | 165 | */ |
166 | #define MHD_set_cur_thread_name_(n) MHD_set_thread_name_ (-1,(n)) | 166 | #define MHD_set_cur_thread_name_(n) \ |
167 | MHD_set_thread_name_ ((MHD_thread_ID_) -1,(n)) | ||
167 | #endif /* _MSC_FULL_VER */ | 168 | #endif /* _MSC_FULL_VER */ |
168 | #endif /* MHD_USE_W32_THREADS */ | 169 | #endif /* MHD_USE_W32_THREADS */ |
169 | 170 | ||