From c333863330e56cc05d2d72d26a87dbe829e59e56 Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Sat, 26 Oct 2024 13:51:53 +0300 Subject: [PATCH] + added the IPC_PRIVATE constant for NetBSD --- packages/rtl-extra/src/unix/ipc.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rtl-extra/src/unix/ipc.pp b/packages/rtl-extra/src/unix/ipc.pp index 9876819f3c..c8b95a1e5c 100644 --- a/packages/rtl-extra/src/unix/ipc.pp +++ b/packages/rtl-extra/src/unix/ipc.pp @@ -85,7 +85,7 @@ Const IPC_EXCL = 2 shl 9; { fail if key exists } IPC_NOWAIT = 4 shl 9; { return error on wait } -{$if defined(FreeBSD) or defined(Darwin) or defined(Solaris) or defined(Linux) or defined(OpenBSD) or defined (dragonfly)} +{$if defined(FreeBSD) or defined(Darwin) or defined(Solaris) or defined(Linux) or defined(OpenBSD) or defined (dragonfly) or defined(NetBSD)} IPC_PRIVATE = TKey(0); {$elseif defined(aix)} IPC_PRIVATE = TKey(-1)