From: Tom Lane Date: Sun, 18 Mar 2001 18:32:02 +0000 (+0000) Subject: Considering the BeOS port didn't compile without IPC_STAT and shm_nattch, X-Git-Tag: REL7_1~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=934126b5180935e79aba1d1dcb8b19bb8e2326d4;p=postgresql Considering the BeOS port didn't compile without IPC_STAT and shm_nattch, I'm betting the QNX4 port does not either ... --- diff --git a/src/backend/port/qnx4/ipc.h b/src/backend/port/qnx4/ipc.h index 0911cc3527..3f1206d31f 100644 --- a/src/backend/port/qnx4/ipc.h +++ b/src/backend/port/qnx4/ipc.h @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/ipc.h,v 1.2 2000/04/12 17:15:30 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/ipc.h,v 1.3 2001/03/18 18:32:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -26,5 +26,6 @@ /* Control Commands. */ #define IPC_RMID 0 /* remove identifier */ +#define IPC_STAT 1 /* get shm status */ #endif /* _SYS_IPC_H */ diff --git a/src/backend/port/qnx4/shm.h b/src/backend/port/qnx4/shm.h index 6fafb22378..40fc9caa26 100644 --- a/src/backend/port/qnx4/shm.h +++ b/src/backend/port/qnx4/shm.h @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/shm.h,v 1.2 2000/04/12 17:15:30 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/shm.h,v 1.3 2001/03/18 18:32:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -28,6 +28,7 @@ extern "C" struct shmid_ds { int dummy; + int shm_nattch; }; extern void *shmat(int shmid, const void *shmaddr, int shmflg);