File tree Expand file tree Collapse file tree 9 files changed +4
-14
lines changed Expand file tree Collapse file tree 9 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 9
9
*
10
10
*
11
11
* IDENTIFICATION
12
- * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.18 2003/12/22 23:39:53 momjian Exp $
12
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.19 2003/12/23 00:32:06 momjian Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -232,9 +232,6 @@ tas_dummy() /* really means: extern int tas(slock_t
232
232
233
233
234
234
235
- #if defined(NEED_I386_TAS_ASM )
236
- /* non gcc i386 based things */
237
- #endif /* NEED_I386_TAS_ASM */
238
235
#endif /* not __GNUC__ */
239
236
240
237
Original file line number Diff line number Diff line change 1
1
#if defined(__i386__ ) || defined(__x86_64__ )
2
- #define NEED_I386_TAS_ASM
3
2
typedef unsigned char slock_t ;
4
3
#endif
5
4
#if defined(__ia64 )
Original file line number Diff line number Diff line change 1
1
#if defined(__i386__ ) || defined(__x86_64__ )
2
- #define NEED_I386_TAS_ASM
3
2
#define HAS_TEST_AND_SET
4
3
typedef unsigned char slock_t ;
5
4
#endif
Original file line number Diff line number Diff line change 1
1
#if defined(__i386__ ) || defined(__x86_64__ )
2
- #define NEED_I386_TAS_ASM
3
2
#define HAS_TEST_AND_SET
4
3
typedef unsigned char slock_t ;
5
4
#endif
Original file line number Diff line number Diff line change 1
1
#if defined(__i386__ ) || defined(__x86_64__ )
2
- #define NEED_I386_TAS_ASM
3
2
#define HAS_TEST_AND_SET
4
3
typedef unsigned char slock_t ;
5
4
#endif
Original file line number Diff line number Diff line change 2
2
#define SCO_ACCEPT_BUG
3
3
4
4
#define HAS_TEST_AND_SET
5
- #define NEED_I386_TAS_ASM
6
5
7
6
#define USE_UNIVEL_CC
8
7
Original file line number Diff line number Diff line change 1
1
#define HAS_TEST_AND_SET
2
- #define NEED_I386_TAS_ASM
3
2
4
3
/***************************************
5
4
* Define this if you are compiling with
Original file line number Diff line number Diff line change 1
1
#define HAS_TEST_AND_SET
2
- #define NEED_I386_TAS_ASM
3
2
4
3
/* see src/backend/libpq/pqcomm.c */
5
4
#define SCO_ACCEPT_BUG
Original file line number Diff line number Diff line change 63
63
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
64
64
* Portions Copyright (c) 1994, Regents of the University of California
65
65
*
66
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.118 2003/12/22 23:36:38 momjian Exp $
66
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.119 2003/12/23 00:32:06 momjian Exp $
67
67
*
68
68
*-------------------------------------------------------------------------
69
69
*/
@@ -345,7 +345,7 @@ tas(volatile slock_t *lock)
345
345
* All non-gcc inlines
346
346
*/
347
347
348
- #if defined(NEED_I386_TAS_ASM ) && defined( USE_UNIVEL_CC )
348
+ #if defined(USE_UNIVEL_CC )
349
349
#define TAS (lock ) tas(lock)
350
350
351
351
asm int
@@ -361,7 +361,7 @@ tas(volatile slock_t *s_lock)
361
361
popl %ebx
362
362
}
363
363
364
- #endif /* defined(NEED_I386_TAS_ASM) && defined( USE_UNIVEL_CC) */
364
+ #endif /* defined(USE_UNIVEL_CC) */
365
365
366
366
#endif /* defined(__GNUC__) */
367
367
You can’t perform that action at this time.
0 commit comments