git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c51c277)
On Solaris ASM, / '/' is the comment for x86, while '!' is the comment
Fri, 5 May 2006 16:23:20 +0000 (16:23 +0000)
Fri, 5 May 2006 16:23:20 +0000 (16:23 +0000)
for Sparc

Robert Lor


diff --git a/src/backend/port/tas/solaris_sparc.s b/src/backend/port/tas/solaris_sparc.s
index de453b5dec3e6a8487eb964726cf4de1bbf85dab..be4c7e97fb1117331f87e9e842f51161b648f2ff 100644 (file)
--- 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 d824310778979c7382d88ce23773385795423849..072a3c35ccfad20bb81fe47505c055c20d960fb8 100644 (file)
--- 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"
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /