summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-22 10:06:20 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-22 10:06:20 (GMT)
commit6aa4bea624eddbbb26535a4ae1a0ed186ab1740b (patch)
tree092acd52c32b5add4e156dd150955344232d3679 /3rdParty
parent1ec62404b21cda0606395f092861468414cc645f (diff)
downloadswift-6aa4bea624eddbbb26535a4ae1a0ed186ab1740b.zip
swift-6aa4bea624eddbbb26535a4ae1a0ed186ab1740b.tar.bz2
Only disable kqueue on OS X.
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/Boost/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/3rdParty/Boost/SConscript b/3rdParty/Boost/SConscript
index 2199b3f..c697618 100644
--- a/3rdParty/Boost/SConscript
+++ b/3rdParty/Boost/SConscript
@@ -15,9 +15,11 @@ elif env.get("BOOST_BUNDLED", False) :
# Common
################################################################################
- cppdefines = ["BOOST_ALL_NO_LIB", "BOOST_SYSTEM_NO_DEPRECATED", "BOOST_ASIO_DISABLE_KQUEUE"]
+ cppdefines = ["BOOST_ALL_NO_LIB", "BOOST_SYSTEM_NO_DEPRECATED"]
if env["PLATFORM"] == "win32" :
cppflags = ["/I" + Dir("src").abspath]
+ elif env["PLATFORM"] == "darwin" :
+ cppdefines += ["BOOST_ASIO_DISABLE_KQUEUE"]
else :
cppflags = [("-isystem", Dir("src").abspath)]