projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dynamically adjust open-video-dialog layout depending on configuration
[ardour.git]
/
gtk2_ardour
/
utils.cc
diff --git
a/gtk2_ardour/utils.cc
b/gtk2_ardour/utils.cc
index 777eb6261650bc3c42eec0b58501b343b3e65520..a8b46f1f57853496f91d028ce831208b2e5961ae 100644
(file)
--- a/
gtk2_ardour/utils.cc
+++ b/
gtk2_ardour/utils.cc
@@
-64,6
+64,10
@@
using Gtkmm2ext::Keyboard;
sigc::signal<void> DPIReset;
+#ifdef PLATFORM_WINDOWS
+#define random() rand()
+#endif
+
/** Add an element to a menu, settings its sensitivity.
* @param m Menu to add to.