diff options
author | Robin Gareus <robin@gareus.org> | 2014-03-04 15:25:58 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-03-04 15:25:58 +0100 |
commit | 912f07b919c1ec44f0cdd5278d74a9bc29b91846 (patch) | |
tree | 1cd5f158ada5e8b9b73cf0d52ca5f9fa430c1fe9 /gtk2_ardour/utils.cc | |
parent | 3e250d5f0649256c8e4c7c53da4f67383dd52f78 (diff) |
mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 777eb62616..a8b46f1f57 100644 --- 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. |