AIX port s_lock.h __AIX --> _AIX

Started by Zeugswetter Andreas SARZalmost 28 years ago6 messages
#1Zeugswetter Andreas SARZ
Andreas.Zeugswetter@telecom.at

I have noticed with delight, that the defined(aix) directives have gone
away (since it is not allways defined),
now there is another one in s_lock.h __AIX with two underscores,
wich also is not defined by gcc.
Please use the singel underscore _AIX since it seems to be defined by
all compilers.

Andreas

#2The Hermit Hacker
scrappy@hub.org
In reply to: Zeugswetter Andreas SARZ (#1)
Re: [HACKERS] AIX port s_lock.h __AIX --> _AIX

On Mon, 9 Feb 1998, Zeugswetter Andreas SARZ wrote:

I have noticed with delight, that the defined(aix) directives have gone
away (since it is not allways defined),
now there is another one in s_lock.h __AIX with two underscores,
wich also is not defined by gcc.
Please use the singel underscore _AIX since it seems to be defined by
all compilers.

Darren? can you confirm before we make any changes?

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#3Noname
darrenk@insightdist.com
In reply to: The Hermit Hacker (#2)
Re: [HACKERS] AIX port s_lock.h __AIX --> _AIX

I have noticed with delight, that the defined(aix) directives have gone
away (since it is not allways defined),
now there is another one in s_lock.h __AIX with two underscores,
wich also is not defined by gcc.
Please use the singel underscore _AIX since it seems to be defined by
all compilers.

Darren? can you confirm before we make any changes?

I agree with Andreas. Aix systems here seem to prefer _AIX (with only
one underscore).

darrenk

#4The Hermit Hacker
scrappy@hub.org
In reply to: Noname (#3)
Re: [HACKERS] AIX port s_lock.h __AIX --> _AIX

On Tue, 10 Feb 1998, Darren King wrote:

I have noticed with delight, that the defined(aix) directives have gone
away (since it is not allways defined),
now there is another one in s_lock.h __AIX with two underscores,
wich also is not defined by gcc.
Please use the singel underscore _AIX since it seems to be defined by
all compilers.

Darren? can you confirm before we make any changes?

I agree with Andreas. Aix systems here seem to prefer _AIX (with only
one underscore).

Someone want to send me a patch to fix this? or a list of files
that need to be changed?

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#5Zeugswetter Andreas SARZ
Andreas.Zeugswetter@telecom.at
In reply to: The Hermit Hacker (#4)
Re: [HACKERS] AIX port s_lock.h __AIX --> _AIX

Someone want to send me a patch to fix this? or a list of files
that need to be changed?

Only occurrs in
src/include/storage/s_lock.h:#if defined(__AIX)
src/include/utils/dt.h:#if defined(__AIX)
src/include/utils/nabstime.h:#if defined(__AIX)

Simply delete one underscore, only occurs once per file, so no patch.

Thanks, I don't have CVS on AIX here
Andreas

#6The Hermit Hacker
scrappy@hub.org
In reply to: Zeugswetter Andreas SARZ (#5)
Re: [HACKERS] AIX port s_lock.h __AIX --> _AIX

On Fri, 13 Feb 1998, Zeugswetter Andreas SARZ wrote:

Someone want to send me a patch to fix this? or a list of files
that need to be changed?

Only occurrs in
src/include/storage/s_lock.h:#if defined(__AIX)
src/include/utils/dt.h:#if defined(__AIX)
src/include/utils/nabstime.h:#if defined(__AIX)

Simply delete one underscore, only occurs once per file, so no patch.

Perfect, change is done...