diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-28 10:51:01 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-28 10:51:01 -0500 |
commit | 6c4627b1b71efa9f8a04fdb1634f996865ffc640 (patch) | |
tree | 4ea2bf54c91c98f2017fbf7a7c65086ce13d4690 /libs/surfaces | |
parent | b6e62c66545d84101e3f82d065862f75509f2d1e (diff) |
fix for push2 code on Windows (no random())
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/push2/push2.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc index 73c871548b..57160abee3 100644 --- a/libs/surfaces/push2/push2.cc +++ b/libs/surfaces/push2/push2.cc @@ -57,6 +57,10 @@ #include "pbd/i18n.h" +#ifdef PLATFORM_WINDOWS +#define random() rand() +#endif + using namespace ARDOUR; using namespace std; using namespace PBD; |