mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.33 2004/12/18 22:12:52 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.34 2004/12/29 23:47:38 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -240,8 +240,15 @@ static void
|
||||
tas_dummy() /* really means: extern int tas(slock_t
|
||||
* *lock); */
|
||||
{
|
||||
|
||||
#ifdef SUNOS4_CC
|
||||
asm(".seg \"data\"");
|
||||
asm(".seg \"text\"");
|
||||
#else
|
||||
asm(".section \"data\"");
|
||||
asm(".section \"text\"");
|
||||
#endif
|
||||
|
||||
asm("_tas:");
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user