summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-03 20:38:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-03 20:38:13 (GMT)
commita70afd502466e229e3f0d5dec08b5458ad52cbac (patch)
treefbf15da1fb1ddb50059dc4ca612269fa3187cd1e /3rdParty
parent5df50c35e1baeee517a0895a2c8a2cc2052b087f (diff)
downloadswift-a70afd502466e229e3f0d5dec08b5458ad52cbac.zip
swift-a70afd502466e229e3f0d5dec08b5458ad52cbac.tar.bz2
Fixed windows compilation of CAres.
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/CAres/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdParty/CAres/SConscript b/3rdParty/CAres/SConscript
index f422867..4c06236 100644
--- a/3rdParty/CAres/SConscript
+++ b/3rdParty/CAres/SConscript
@@ -2,6 +2,7 @@ Import("env")
myenv = env.Clone()
myenv.Append(CPPPATH = ["src"])
+myenv.Append(CPPDEFINES = [("CARES_STATICLIB")])
if myenv["PLATFORM"] != "win32" :
myenv.Append(CPPDEFINES = ["HAVE_CONFIG_H"])