From 83a62ff05ccdabf5f6749cce9cac05b295338b7b Mon Sep 17 00:00:00 2001 From: Daniel Pfrommer Date: Mon, 20 Jan 2020 12:33:37 -0500 Subject: [PATCH] added mingw-gcc support --- BUILD.boost | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BUILD.boost b/BUILD.boost index a008279f3..46d6ccb38 100644 --- a/BUILD.boost +++ b/BUILD.boost @@ -145,8 +145,8 @@ boost_library( "libs/context/src/untested.cpp", "libs/context/src/continuation.cpp", ], - copts = select({ - ":windows_x86_64": ["/DBOOST_CONTEXT_EXPORT="], + defines = select({ + ":windows_x86_64": ["BOOST_CONTEXT_EXPORT"], "//conditions:default": [], }), visibility = ["//visibility:public"], @@ -187,9 +187,9 @@ boost_library( "libs/fiber/examples/asio/round_robin.hpp", "libs/fiber/examples/asio/yield.hpp", ], - copts = select({ + defines = select({ ":windows_x86_64": [ - "/D_WIN32_WINNT=0x0601", + "_WIN32_WINNT=0x0601", ], "//conditions:default": [], }),