diff options
author | Tom Lane | 2007-07-16 02:03:14 +0000 |
---|---|---|
committer | Tom Lane | 2007-07-16 02:03:14 +0000 |
commit | 057d5c421f1b231906d1ed59d318c4b17616d5ee (patch) | |
tree | fe3d057008d5a11b77c683856bd73b549ff56016 /src | |
parent | 37e347a7e0920654e45420dee1bd2ab1fd124a82 (diff) |
On AIX, include <sys/atomic_op.h> so that the functions we use for
TAS support are properly declared.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/storage/s_lock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 76097f57b8e..80b5d64a9a3 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -66,7 +66,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.159 2007/05/04 15:20:52 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.160 2007/07/16 02:03:14 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -750,6 +750,8 @@ typedef abilock_t slock_t; */ #define HAS_TEST_AND_SET +#include <sys/atomic_op.h> + typedef unsigned int slock_t; #define TAS(lock) _check_lock(lock, 0, 1) |