1
0
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:
Bruce Momjian
2006-05-05 16:23:20 +00:00
parent c51c2777ec
commit f454d6264d
2 changed files with 10 additions and 4 deletions

View File

@ -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"

View File

@ -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"