Re: SCO vs. the monster macro - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: SCO vs. the monster macro
Date
Msg-id 199803122115.QAA06535@candle.pha.pa.us
Whole thread Raw
In response to SCO vs. the monster macro  (Hal Snyder <hal@vailsys.com>)
List pgsql-hackers
>
> > But we don't want that if they use a good compiler under SCO.  I have
> > asked them to run src/tools/ccsym and send the output.  Should be
> > something unique in there.
>
> On SCO, ccsym becomes /bin/cc -b elf -ii -E foo.c, which after filtering
> gives the symbols below. If I omit "-b elf", the last line is replaced
> by the two lines
> '-D_M_COFF'
> '-D_SCO_COFF'
>
> How about _SCO_DS as the define when testing for SCO's native
> compiler? (I confess ignorance as to SCO's intended use of this symbol.)

I am inclined to choose:

    -D_SCO_C_DIALECT=1

Not to test for the value of one, but just to test if it is defined.

--
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)

pgsql-hackers by date:

Previous
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] SCO vs. the monster macro
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] Does Storage Manager support >2GB tables?