Re: SCO vs. the monster macro

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: hal(at)vailsys(dot)com (Hal Snyder)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: SCO vs. the monster macro
Date: 1998-03-12 21:15:54
Message-ID: 199803122115.QAA06535@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Gould 1998-03-12 21:31:33 Re: [HACKERS] PL/pgSQL - for discussion
Previous Message Bruce Momjian 1998-03-12 21:13:53 Re: [HACKERS] Re: [QUESTIONS] Does Storage Manager support >2GB tables?