]> granicus.if.org Git - postgresql/commitdiff
Considering the BeOS port didn't compile without IPC_STAT and shm_nattch,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 Mar 2001 18:32:02 +0000 (18:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 Mar 2001 18:32:02 +0000 (18:32 +0000)
I'm betting the QNX4 port does not either ...

src/backend/port/qnx4/ipc.h
src/backend/port/qnx4/shm.h

index 0911cc352733e4cb24eb00c62317ff5ff9ef1b1f..3f1206d31fb242915b1851a229aac444201db796 100644 (file)
@@ -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 */
index 6fafb223785103f311dd6a15a0e88eaa938a8d8e..40fc9caa260fd5202b3ff11dd415141e79b3c32f 100644 (file)
@@ -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);