]> granicus.if.org Git - postgresql/commitdiff
Add var defines for no testandset
authorBruce Momjian <bruce@momjian.us>
Sat, 26 Jun 1999 15:58:28 +0000 (15:58 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 26 Jun 1999 15:58:28 +0000 (15:58 +0000)
src/backend/storage/buffer/buf_init.c

index 73f1bf61b7ade801216b7326b154efb401ef1f8d..9d92bbe5a8fcef558f97e901723f2851c6cebf2b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.24 1999/06/12 22:17:24 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.25 1999/06/26 15:58:28 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -235,6 +235,8 @@ InitBufferPool(IPCKey key)
 #ifndef HAS_TEST_AND_SET
        {
                int                     status;
+               extern IpcSemaphoreId WaitIOSemId;
+               extern IpcSemaphoreId WaitCLSemId;
 
                WaitIOSemId = IpcSemaphoreCreate(IPCKeyGetWaitIOSemaphoreKey(key),
                                                                                 1, IPCProtection, 0, 1, &status);