summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-07 05:20:06 +0200
committerRobin Gareus <robin@gareus.org>2015-04-07 05:25:24 +0200
commit2bbe4baf297808a064a0e34fbd4a83183561c07f (patch)
tree88ee06249763d8a2b16595569be0a15ba4c8b52e /wscript
parent6ba555c2f57fb793431aef0cedfbacf11d643a2b (diff)
windows can’t rename open files.
This needs a better solution after 4.0.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index bd82a1f475..7395d92a20 100644
--- a/wscript
+++ b/wscript
@@ -880,6 +880,7 @@ def configure(conf):
# see http://gareus.org/wiki/ardour_windows_gdk_and_cairo
conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
+ conf.define ('WINDOWS', 1)
if Options.options.dist_target == 'msvc':
conf.env.append_value('CFLAGS', '-DPLATFORM_WINDOWS')
@@ -891,6 +892,7 @@ def configure(conf):
conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
# MORE STUFF PROBABLY NEEDED HERE
+ conf.define ('WINDOWS', 1)
# Tell everyone that this is a waf build