[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __unix not defined
Cavendish McKay writes:
> I'm trying to build a plotting library, and the code checks to see if
> __unix is defined, but not __unix__. It appears that while __unix__ is
> defined, __unix is not. Should the code in question check for both __unix
> and __unix__, or is this a problem with my build/configuration of gcc?
> Im using gcc 2.95.2 on OpenBSD 2.7
I presume all BSD's removed this define at some stage.
We had this problem in gnuplot, too, but went on and changed the code
to not use any of these defines.