postgres.git / summary / log / commit / refs
commit f454d6264d4868576a3d1f98c2e7b1d3517c2a74
Author: Bruce Momjian <bruce@momjian.us>
Date: Fri May 05 16:23:20 2006 +0000
First released in: 8.2.0
On Solaris ASM, / '/' is the comment for x86, while '!' is the comment
for Sparc
Robert Lor
src/backend/port/tas/solaris_sparc.s | 4 ++++
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"
[parent: c51c2777ec05]