This applied patch remove NEED_SPARC_TAS_ASM and instead uses __sparc ||
__sparc__.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
Index: src/backend/storage/lmgr/s_lock.c
===================================================================
RCS file: /cvsroot/pgsql-server/src/backend/storage/lmgr/s_lock.c,v
retrieving revision 1.17
diff -c -c -r1.17 s_lock.c
*** src/backend/storage/lmgr/s_lock.c   29 Nov 2003 19:51:57 -0000      1.17
--- src/backend/storage/lmgr/s_lock.c   22 Dec 2003 23:38:46 -0000
***************
*** 208,214 ****
  
  
  
! #if defined(NEED_SPARC_TAS_ASM)
  /*
   * sparc machines not using gcc
   */
--- 208,214 ----
  
  
  
! #if defined(__sparc__) || defined(__sparc)
  /*
   * sparc machines not using gcc
   */
***************
*** 227,233 ****
        asm("retl");
        asm("nop");
  }
! #endif   /* NEED_SPARC_TAS_ASM */
  
  
  
--- 227,233 ----
        asm("retl");
        asm("nop");
  }
! #endif   /* __sparc || __sparc__ */
  
  
  
Index: src/include/port/bsdi.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/include/port/bsdi.h,v
retrieving revision 1.9
diff -c -c -r1.9 bsdi.h
*** src/include/port/bsdi.h     12 Sep 2003 15:49:34 -0000      1.9
--- src/include/port/bsdi.h     22 Dec 2003 23:38:47 -0000
***************
*** 6,12 ****
  typedef unsigned int slock_t;
  #endif
  #if defined(__sparc__)
- #define NEED_SPARC_TAS_ASM
  typedef unsigned char slock_t;
  #endif
  
--- 6,11 ----
Index: src/include/port/freebsd.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/include/port/freebsd.h,v
retrieving revision 1.11
diff -c -c -r1.11 freebsd.h
*** src/include/port/freebsd.h  12 Sep 2003 15:49:34 -0000      1.11
--- src/include/port/freebsd.h  22 Dec 2003 23:38:47 -0000
***************
*** 10,16 ****
  #endif
  
  #if defined(__sparc__)
- #define NEED_SPARC_TAS_ASM
  #define HAS_TEST_AND_SET
  typedef unsigned char slock_t;
  #endif
--- 10,15 ----
Index: src/include/port/netbsd.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/include/port/netbsd.h,v
retrieving revision 1.10
diff -c -c -r1.10 netbsd.h
*** src/include/port/netbsd.h   12 Sep 2003 15:49:34 -0000      1.10
--- src/include/port/netbsd.h   22 Dec 2003 23:38:47 -0000
***************
*** 10,16 ****
  #endif
  
  #if defined(__sparc__)
- #define NEED_SPARC_TAS_ASM
  #define HAS_TEST_AND_SET
  typedef unsigned char slock_t;
  #endif
--- 10,15 ----
Index: src/include/port/openbsd.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/include/port/openbsd.h,v
retrieving revision 1.9
diff -c -c -r1.9 openbsd.h
*** src/include/port/openbsd.h  12 Sep 2003 15:49:34 -0000      1.9
--- src/include/port/openbsd.h  22 Dec 2003 23:38:47 -0000
***************
*** 10,16 ****
  #endif
  
  #if defined(__sparc__)
- #define NEED_SPARC_TAS_ASM
  #define HAS_TEST_AND_SET
  typedef unsigned char slock_t;
  #endif
--- 10,15 ----
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to