mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
'gtk2_ardour' - Make sure that 'getpid()' can be found when building with MSVC
This commit is contained in:
parent
5da78cea9a
commit
da628185b1
1 changed files with 4 additions and 0 deletions
|
|
@ -23,7 +23,11 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#ifndef COMPILER_MSVC
|
||||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
|
#else
|
||||||
|
#include <process.h> // Needed for 'getpid()'
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace NSM
|
namespace NSM
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue