Re: [HACKERS] port/getrusage.c?

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: hal@vailsys.com (Hal Snyder)
Cc: hackers@postgreSQL.org
Date: 1998-03-12T05:15:51Z
Lists: pgsql-hackers
> 
> > From: Bruce Momjian <maillist@candle.pha.pa.us>
> > Date: Wed, 11 Mar 1998 23:11:37 -0500 (EST)
> 
> > OK, please tell me what macro is a monster, and what define I can check
> > to see if I am using the SCO/Microsoft/piece-O-junk :-) compiler, and I
> > will take a crack at making a static function out of the macro and send
> > you a patch to test.
> 
> src/include/access/heapam.h - heap_getattr is the one that blows the
> mind of SCO ODT5 /bin/cc as well as their Skunkware gcc-2.7.2.1. Pure
> GNU 2.8.1 was all I could get to handle it.

What define can I use to check for SCO open-deathtrap cc?

> 
> BTW just so you won't think we're total idiots - we run the pgsql
> server on FreeBSD where it belongs - but some of our hosts use
> hardware for which vendors refuse to allow FreeBSD support. Thus we
> have SCO systems (plus hardware to reboot them when they wedge).

This is funny.


-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)