diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-03 11:20:15 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-03 11:20:15 +0200 |
commit | f0c1d58f593343906a255e1826b295dc25769c68 (patch) | |
tree | 42f32672a95e967891b31bcfb104126afe45a21c | |
parent | 2a420184b92dd95320b5e9f20522035f25b35e94 (diff) |
fix windows compilation
-rw-r--r-- | libs/surfaces/mackie/surface.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/surface.cc b/libs/surfaces/mackie/surface.cc index c237cfcb25..3770a335e7 100644 --- a/libs/surfaces/mackie/surface.cc +++ b/libs/surfaces/mackie/surface.cc @@ -51,6 +51,10 @@ #include "i18n.h" +#ifdef PLATFORM_WINDOWS +#define random() rand() +#endif + using namespace std; using namespace PBD; using ARDOUR::Route; |