[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 on android
- From: Doug <douglas.linder@...>
- Date: Mon, 13 Aug 2012 21:42:52 +0800
Wait my bad, I should have read that more carefully. Indeed,
__ANDROID__ is the compiler macro, and -DANDROID is the compile flag
(and does NOT work if you invoke the compiler manually with out
calling the build helper makefiles).
~
Doug.
On Mon, Aug 13, 2012 at 9:36 PM, Doug <douglas.linder@gmail.com> wrote:
> Fair enough. luaconf.h it is then~
>
> Also; any of the above really (#ifdef ANDROID, #if ANDROID, #ifdef
> __ANDROID__, #if ANDROID || __ANDROID__) take your pick, they all
> work.
>
> ~
> Doug.
>
> On Mon, Aug 13, 2012 at 9:04 PM, Patrick Rapin <toupie300@gmail.com> wrote:
>>> #if ANDROID
>>
>> Well, according to your Stackoverflow linked page, it should in fact be:
>>
>> #ifdef __ANDROID__
>>
>> And, as Luiz already pointed out, placed in luaconf.h instead of llex.c
>>