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 parentf66b0ff commit887b5a7Copy full SHA for 887b5a7
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.18 2003/12/22 23:39:53 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.19 2003/12/23 00:32:06 momjian Exp $
13
14
*-------------------------------------------------------------------------
15
*/
@@ -232,9 +232,6 @@ tas_dummy()/* really means: extern int tas(slock_t
232
233
234
235
-#if defined(NEED_I386_TAS_ASM)
236
-/* non gcc i386 based things */
237
-#endif/* NEED_I386_TAS_ASM */
238
#endif/* not __GNUC__ */
239
240
src/include/port/bsdi.h
@@ -1,5 +1,4 @@
1
#if defined(__i386__)|| defined(__x86_64__)
2
-#defineNEED_I386_TAS_ASM
3
typedefunsignedcharslock_t;
4
#endif
5
#if defined(__ia64)
src/include/port/freebsd.h
#defineHAS_TEST_AND_SET
src/include/port/netbsd.h
src/include/port/openbsd.h
src/include/port/sco.h
@@ -2,7 +2,6 @@
#defineSCO_ACCEPT_BUG
6
7
#defineUSE_UNIVEL_CC
8
src/include/port/univel.h
/***************************************
* Define this if you are compiling with
src/include/port/unixware.h
/* see src/backend/libpq/pqcomm.c */
src/include/storage/s_lock.h
@@ -63,7 +63,7 @@
63
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
64
* Portions Copyright (c) 1994, Regents of the University of California
65
66
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.118 2003/12/22 23:36:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.119 2003/12/23 00:32:06 momjian Exp $
67
68
69
@@ -345,7 +345,7 @@ tas(volatile slock_t *lock)
345
* All non-gcc inlines
346
347
348
-#if defined(NEED_I386_TAS_ASM)&& defined(USE_UNIVEL_CC)
+#if defined(USE_UNIVEL_CC)
349
#defineTAS(lock)tas(lock)
350
351
asmint
@@ -361,7 +361,7 @@ tas(volatile slock_t *s_lock)
361
popl %ebx
362
}
363
364
-#endif/* defined(NEED_I386_TAS_ASM) && defined(USE_UNIVEL_CC) */
+#endif/* defined(USE_UNIVEL_CC) */
365
366
#endif/* defined(__GNUC__) */
367