mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
include unistd only on Q_OS_LINUX
This commit is contained in:
parent
200f5e38b6
commit
03e1da0ba9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
#define getpid _getpid
|
||||
#define getppid _getpid // hack to build
|
||||
#define pid_t int // hack to build
|
||||
#else
|
||||
#elsif Q_OS_LINUX
|
||||
#include <unistd.h> // for getpid() on linux
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue