'gtk2_ardour' - Make sure that 'getpid()' can be found when building with MSVC
This commit is contained in:
parent
5da78cea9a
commit
da628185b1
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue