aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libmicrohttpd
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-10-11 16:26:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-11 20:48:25 +0000
commit0f61faa7b7041efcedd1363b11b44fa97ad97448 (patch)
tree14d7f988ee6f40bf03a5860464f7fa9b48af04c9 /third_party/libmicrohttpd
parent8c8fceff4d4e8ec09f29748d77ed5510697a2995 (diff)
GN: windows compiles locally.
Not yet linking. Ignoring bots for now. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3200 Change-Id: Idd75033313df60844c2ba602f7845b3c52987bc2 Reviewed-on: https://skia-review.googlesource.com/3200 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'third_party/libmicrohttpd')
-rw-r--r--third_party/libmicrohttpd/BUILD.gn7
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",
+ ]
}
}