aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_threads.h')
-rw-r--r--src/microhttpd/mhd_threads.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_threads.h b/src/microhttpd/mhd_threads.h
index 6f690893..dcc7b09a 100644
--- a/src/microhttpd/mhd_threads.h
+++ b/src/microhttpd/mhd_threads.h
@@ -47,11 +47,17 @@
47# undef HAVE_CONFIG_H 47# undef HAVE_CONFIG_H
48# include <pthread.h> 48# include <pthread.h>
49# define HAVE_CONFIG_H 1 49# define HAVE_CONFIG_H 1
50# ifndef MHD_USE_THREADS
51# define MHD_USE_THREADS 1
52# endif
50#elif defined(MHD_USE_W32_THREADS) 53#elif defined(MHD_USE_W32_THREADS)
51# ifndef WIN32_LEAN_AND_MEAN 54# ifndef WIN32_LEAN_AND_MEAN
52# define WIN32_LEAN_AND_MEAN 1 55# define WIN32_LEAN_AND_MEAN 1
53# endif /* !WIN32_LEAN_AND_MEAN */ 56# endif /* !WIN32_LEAN_AND_MEAN */
54# include <windows.h> 57# include <windows.h>
58# ifndef MHD_USE_THREADS
59# define MHD_USE_THREADS 1
60# endif
55#else 61#else
56# error No threading API is available. 62# error No threading API is available.
57#endif 63#endif