Skip to content

Commit 037e2fc

Browse files
committed
Must test for __hppa__ as well as __hppa to make linux-hppa happy.
1 parent b3c3b54 commit 037e2fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/include/storage/s_lock.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Portions Copyright (c) 1996-2003, 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.124 2003/12/27 20:58:58 tgl Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.125 2004/01/03 05:47:44 tgl Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -510,7 +510,7 @@ typedef unsigned long slock_t;
510510
#endif /* __alpha || __alpha__ */
511511

512512

513-
#if defined(__hppa)
513+
#if defined(__hppa) || defined(__hppa__)
514514
/*
515515
* HP's PA-RISC
516516
*
@@ -560,7 +560,7 @@ tas(volatile slock_t *lock)
560560

561561
#define S_LOCK_FREE(lock) (*TAS_ACTIVE_WORD(lock) != 0)
562562

563-
#endif /* __hppa */
563+
#endif /* __hppa || __hppa__ */
564564

565565

566566
#if defined(__QNX__) && defined(__WATCOMC__)

0 commit comments

Comments
 (0)