diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-05-05 16:23:20 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-05-05 16:23:20 +0000 |
commit | f454d6264d4868576a3d1f98c2e7b1d3517c2a74 (patch) | |
tree | 0606edf4ec5d12163aaa88d10fa5ef13f40d6bf6 /src | |
parent | c51c2777ec051eb6d700866409e3ee531920e443 (diff) | |
download | postgresql-f454d6264d4868576a3d1f98c2e7b1d3517c2a74.tar.gz postgresql-f454d6264d4868576a3d1f98c2e7b1d3517c2a74.zip |
On Solaris ASM, / '/' is the comment for x86, while '!' is the comment
for Sparc
Robert Lor
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/port/tas/solaris_sparc.s | 4 | ||||
-rw-r--r-- | src/backend/port/tas/solaris_x86.s | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/backend/port/tas/solaris_sparc.s b/src/backend/port/tas/solaris_sparc.s index de453b5dec3..be4c7e97fb1 100644 --- a/src/backend/port/tas/solaris_sparc.s +++ b/src/backend/port/tas/solaris_sparc.s @@ -2,6 +2,10 @@ ! solaris_sparc.s -- compare and swap for solaris_sparc !======================================================================= +! Fortunately the Sun compiler can process cpp conditionals with -P + +! '/' is the comment for x86, while '!' is the comment for Sparc + #if defined(__sparcv9) || defined(__sparc) .section ".text" diff --git a/src/backend/port/tas/solaris_x86.s b/src/backend/port/tas/solaris_x86.s index d8243107789..072a3c35ccf 100644 --- a/src/backend/port/tas/solaris_x86.s +++ b/src/backend/port/tas/solaris_x86.s @@ -1,8 +1,10 @@ -!======================================================================= -! solaris_i386.s -- compare and swap for solaris_i386 -!======================================================================= +/======================================================================= +/ solaris_i386.s -- compare and swap for solaris_i386 +/======================================================================= -! Fortunately the Sun compiler can process cpp conditionals with -P +/ Fortunately the Sun compiler can process cpp conditionals with -P + +/ '/' is the comment for x86, while '!' is the comment for Sparc .file "tas.s" |