Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit057d5c4

Browse files
committed
On AIX, include <sys/atomic_op.h> so that the functions we use for
TAS support are properly declared.
1 parent37e347a commit057d5c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/include/storage/s_lock.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6767
* Portions Copyright (c) 1994, Regents of the University of California
6868
*
69-
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.159 2007/05/04 15:20:52 tgl Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.160 2007/07/16 02:03:14 tgl Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -750,6 +750,8 @@ typedef abilock_t slock_t;
750750
*/
751751
#defineHAS_TEST_AND_SET
752752

753+
#include<sys/atomic_op.h>
754+
753755
typedefunsignedintslock_t;
754756

755757
#defineTAS(lock)_check_lock(lock, 0, 1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp