summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-19 20:10:43 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-19 20:12:09 (GMT)
commitcda3b7244a204fb1213d377023f1d71ba5e37d4e (patch)
tree0fc1d525d8a0a4f9f2df0df4ad69c3fd945fd175
parent9a511892f6be7a8c998c1862d50aad274535636a (diff)
downloadswift-contrib-cda3b7244a204fb1213d377023f1d71ba5e37d4e.zip
swift-contrib-cda3b7244a204fb1213d377023f1d71ba5e37d4e.tar.bz2
Replace \ by / in Swiften.h on Windows.
-rw-r--r--Swiften/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index c9c8d56..f196685 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -372,6 +372,8 @@ if env["SCONS_STAGE"] == "build" :
if not file.endswith(".h") :
continue
include = relpath(os.path.join(root, file), top_path)
+ if swiften_env["PLATFORM"] == "win32" :
+ include = include.replace("\\", "/")
swiften_includes.append(include)
# Private modules
if root.endswith("Config") or root.endswith("Compress") :