Considering the BeOS port didn't compile without IPC_STAT and shm_nattch,

I'm betting the QNX4 port does not either ...
This commit is contained in:
Tom Lane 2001-03-18 18:32:02 +00:00
parent 4bd983bf34
commit 934126b518
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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. */ /* Control Commands. */
#define IPC_RMID 0 /* remove identifier */ #define IPC_RMID 0 /* remove identifier */
#define IPC_STAT 1 /* get shm status */
#endif /* _SYS_IPC_H */ #endif /* _SYS_IPC_H */

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 struct shmid_ds
{ {
int dummy; int dummy;
int shm_nattch;
}; };
extern void *shmat(int shmid, const void *shmaddr, int shmflg); extern void *shmat(int shmid, const void *shmaddr, int shmflg);