We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentb731d04 commit9114cb1Copy full SHA for 9114cb1
src/backend/storage/lmgr/s_lock.c
@@ -9,7 +9,7 @@
9
*
10
11
* IDENTIFICATION
12
- * $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 $
13
14
*-------------------------------------------------------------------------
15
*/
@@ -208,7 +208,7 @@ tas_dummy()/* really means: extern int tas(slock_t
208
209
210
211
-#if defined(NEED_SPARC_TAS_ASM)
+#if defined(__sparc__)|| defined(__sparc)
212
/*
213
* sparc machines not using gcc
214
@@ -227,7 +227,7 @@ tas_dummy()/* really means: extern int tas(slock_t
227
asm("retl");
228
asm("nop");
229
}
230
-#endif/*NEED_SPARC_TAS_ASM */
+#endif/*__sparc || __sparc__ */
231
232
233
src/include/port/bsdi.h
@@ -6,7 +6,6 @@ typedef unsigned char slock_t;
6
typedefunsignedintslock_t;
7
#endif
8
#if defined(__sparc__)
-#defineNEED_SPARC_TAS_ASM
typedefunsignedcharslock_t;
src/include/port/freebsd.h
@@ -10,7 +10,6 @@ typedef unsigned int slock_t;
#defineHAS_TEST_AND_SET
16
src/include/port/netbsd.h
src/include/port/openbsd.h