Zeugswetter Andreas SB writes: > The down side is, that I did not do a configure test, and did not > incooperate IRIX, since I didn't know what define to check. > > The correct thing to do instead of the #if defined (_AIX) would be > to use something like #ifdef NO_NEGATIVE_MKTIME and set that with a > configure. I agree that configure is the way to go. What if someone has installed a third party library to provide a better mktime() and localtime()? But to answer your question, #if defined (__sgi) is a good test for IRIX, at least with the native compiler. I can't speak for gcc. -- Pete Forman -./\.- Disclaimer: This post is originated WesternGeco -./\.- by myself and does not represent [EMAIL PROTECTED] -./\.- opinion of Schlumberger, Baker http://www.crosswinds.net/~petef -./\.- Hughes or their divisions.
- AW: AW: AW: [HACKERS] Re: tinterval - operator prob... Zeugswetter Andreas SB
- Re: AW: AW: AW: [HACKERS] Re: tinterval - oper... Thomas Lockhart
- AW: AW: AW: [HACKERS] Re: tinterval - operator... Zeugswetter Andreas SB
- AW: AW: AW: [HACKERS] Re: tinterval - operator... Zeugswetter Andreas SB
- AW: AW: AW: [HACKERS] Re: tinterval - operator... Zeugswetter Andreas SB
- AW: AW: AW: [HACKERS] Re: tinterval - operator... Zeugswetter Andreas SB
- Re: AW: AW: AW: [HACKERS] Re: tinterval - ... Thomas Lockhart
- Re: AW: AW: AW: [HACKERS] Re: tinterval - ... Pete Forman
- Re: AW: AW: AW: [HACKERS] Re: tinterva... Peter Eisentraut
- Re: AW: AW: AW: [HACKERS] Re: tint... Thomas Lockhart
- Re: AW: AW: AW: [HACKERS] Re:... Peter Eisentraut
- Re: AW: AW: AW: [HACKERS]... Ian Lance Taylor
- Re: AW: AW: AW: [HACK... Peter Eisentraut
- Re: AW: AW: AW: [HACK... Ian Lance Taylor
- Re: AW: AW: AW: [HACK... Peter Eisentraut
- Re: AW: AW: AW: [HACK... Ian Lance Taylor
- Re: AW: AW: AW: [HACKERS] Re: tint... Pete Forman