mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
This applied patch remove NEED_SPARC_TAS_ASM and instead uses __sparc ||
__sparc__.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.17 2003/11/29 19:51:57 pgsql Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.18 2003/12/22 23:39:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -208,7 +208,7 @@ tas_dummy() /* really means: extern int tas(slock_t
|
||||
|
||||
|
||||
|
||||
#if defined(NEED_SPARC_TAS_ASM)
|
||||
#if defined(__sparc__) || defined(__sparc)
|
||||
/*
|
||||
* sparc machines not using gcc
|
||||
*/
|
||||
@@ -227,7 +227,7 @@ tas_dummy() /* really means: extern int tas(slock_t
|
||||
asm("retl");
|
||||
asm("nop");
|
||||
}
|
||||
#endif /* NEED_SPARC_TAS_ASM */
|
||||
#endif /* __sparc || __sparc__ */
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user