You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Roberto Bucher <ro...@supsi.ch> on 2022/12/05 15:15:56 UTC
NUTTX definition
Hi
Which is the "#ifdef" that I can use to check if I've been compiling for
NuttX (like for example #ifdef _WIN32...)?
Thanks in advance
Roberto
Re: NUTTX definition
Posted by Roberto Bucher <ro...@supsi.ch>.
Thanks: it works!
Ciao
Roberto
On 12/5/22 16:36, Alan C. Assis wrote:
> Hi Roberto,
>
> You can use __NuttX__
>
> BR,
>
> Alan
>
> On 12/5/22, Roberto Bucher <ro...@supsi.ch> wrote:
>> Hi
>>
>> Which is the "#ifdef" that I can use to check if I've been compiling for
>> NuttX (like for example #ifdef _WIN32...)?
>>
>> Thanks in advance
>>
>> Roberto
>>
>>
Re: NUTTX definition
Posted by "Alan C. Assis" <ac...@gmail.com>.
Hi Roberto,
You can use __NuttX__
BR,
Alan
On 12/5/22, Roberto Bucher <ro...@supsi.ch> wrote:
> Hi
>
> Which is the "#ifdef" that I can use to check if I've been compiling for
> NuttX (like for example #ifdef _WIN32...)?
>
> Thanks in advance
>
> Roberto
>
>