Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9114cb1c
Commit
9114cb1c
authored
Dec 22, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This applied patch remove NEED_SPARC_TAS_ASM and instead uses __sparc ||
__sparc__.
parent
b731d041
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
7 deletions
+3
-7
src/backend/storage/lmgr/s_lock.c
src/backend/storage/lmgr/s_lock.c
+3
-3
src/include/port/bsdi.h
src/include/port/bsdi.h
+0
-1
src/include/port/freebsd.h
src/include/port/freebsd.h
+0
-1
src/include/port/netbsd.h
src/include/port/netbsd.h
+0
-1
src/include/port/openbsd.h
src/include/port/openbsd.h
+0
-1
No files found.
src/backend/storage/lmgr/s_lock.c
View file @
9114cb1c
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.1
7 2003/11/29 19:51:57 pgsql
Exp $
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.1
8 2003/12/22 23:39:53 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -208,7 +208,7 @@ tas_dummy() /* really means: extern int tas(slock_t
#if defined(
NEED_SPARC_TAS_ASM
)
#if defined(
__sparc__) || defined(__sparc
)
/*
* sparc machines not using gcc
*/
...
...
@@ -227,7 +227,7 @@ tas_dummy() /* really means: extern int tas(slock_t
asm
(
"retl"
);
asm
(
"nop"
);
}
#endif
/*
NEED_SPARC_TAS_ASM
*/
#endif
/*
__sparc || __sparc__
*/
...
...
src/include/port/bsdi.h
View file @
9114cb1c
...
...
@@ -6,7 +6,6 @@ typedef unsigned char slock_t;
typedef
unsigned
int
slock_t
;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
typedef
unsigned
char
slock_t
;
#endif
...
...
src/include/port/freebsd.h
View file @
9114cb1c
...
...
@@ -10,7 +10,6 @@ typedef unsigned int slock_t;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
...
...
src/include/port/netbsd.h
View file @
9114cb1c
...
...
@@ -10,7 +10,6 @@ typedef unsigned int slock_t;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
...
...
src/include/port/openbsd.h
View file @
9114cb1c
...
...
@@ -10,7 +10,6 @@ typedef unsigned int slock_t;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment