projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e62c6
)
fix for push2 code on Windows (no random())
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 28 Sep 2016 15:51:01 +0000
(10:51 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 28 Sep 2016 15:51:01 +0000
(10:51 -0500)
libs/surfaces/push2/push2.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/push2/push2.cc
b/libs/surfaces/push2/push2.cc
index 73c871548b070d8effdf66993f9133739550d932..57160abee3269d04bc5ae74f6b9c2d7a6c3c9888 100644
(file)
--- 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;