projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5da78ce
)
'gtk2_ardour' - Make sure that 'getpid()' can be found when building with MSVC
author
John Emmas
<johne53@tiscali.co.uk>
Thu, 3 Oct 2013 08:57:25 +0000
(09:57 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Thu, 3 Oct 2013 08:57:25 +0000
(09:57 +0100)
gtk2_ardour/nsmclient.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/nsmclient.cc
b/gtk2_ardour/nsmclient.cc
index 76e18bc6292b71e47bdecb67dc6b9df6bdc3265a..94c3e8570e978c835fbd0e47bad5d1accd546000 100644
(file)
--- a/
gtk2_ardour/nsmclient.cc
+++ b/
gtk2_ardour/nsmclient.cc
@@
-23,7
+23,11
@@
#include <unistd.h>
#include <stdlib.h>
+#ifndef COMPILER_MSVC
#pragma GCC diagnostic ignored "-Wunused-parameter"
+#else
+#include <process.h> // Needed for 'getpid()'
+#endif
namespace NSM
{