diff options
Diffstat (limited to 'third_party/libmicrohttpd')
-rw-r--r-- | third_party/libmicrohttpd/BUILD.gn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/libmicrohttpd/BUILD.gn b/third_party/libmicrohttpd/BUILD.gn index 723807723f..7780471589 100644 --- a/third_party/libmicrohttpd/BUILD.gn +++ b/third_party/libmicrohttpd/BUILD.gn @@ -32,5 +32,12 @@ third_party("libmicrohttpd") { "HAVE_SYS_SOCKET_H=1", "MHD_USE_POSIX_THREADS=1", ] + } else { + defines += [ + "HAVE_SYS_TYPES_H=1", + "HAVE_TIME_H=1", + "MHD_USE_W32_THREADS=1", + "WINDOWS", + ] } } |