lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2017-07-28 16:26 GMT+02:00 Russell Haley <russ.haley@gmail.com>:
> On Fri, Jul 28, 2017 at 5:43 AM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
>>> Both LUA_USE_LINUX and LUA_USE_MACOSX use the same defines but get
>>> named separately.
>>
>> Just for psychological reasons: it's strange that "make macosx" shows
>> compilations lines with -DLUA_USE_LINUX.
>>
>>> Is there a reason there is no LUA_USE_FREEBSD?
>>
>> No special reason, except that we think Linux and MacOSX are the more
>> common platforms. No offense meant.
>
> I run in to this all the time, and I'm not REALLY offended but I try
> to draw attention to the inconsistency, especially since you went to
> the trouble to make a target for FreeBSD. It's seems inconsistent to
> say that showing the word Linux while building on MACOSX is strange
> but it's okay for FreeBSD.

A mathematician's solution would be to generalize, Linux, Max OSX and
FreeBSD all being special cases of OSIX (something not quite POSIX,
get it?) Then LUA_USE_OSIX offends no one and is understood by
no one. Fair enough?