mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
On Solaris ASM, / '/' is the comment for x86, while '!' is the comment
for Sparc Robert Lor
This commit is contained in:
@ -2,6 +2,10 @@
|
|||||||
! solaris_sparc.s -- compare and swap for solaris_sparc
|
! 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)
|
#if defined(__sparcv9) || defined(__sparc)
|
||||||
|
|
||||||
.section ".text"
|
.section ".text"
|
||||||
|
@ -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"
|
.file "tas.s"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user