From: Alexandru P. <al...@gm...> - 2024-11-14 15:20:28
|
чт, 14 нояб. 2024 г. в 15:10, Bruno Haible <br...@cl...>: > Alexandru Popa wrote: > > Still in my build of CLISP *features* list :UNIX (last) but not :HAIKU. > > Where the definition "#ifdef UNIX_HAIKU" comes from? > > It comes from lispbibl.d:315. > > > AFAIK, the standard Haiku macro is "#ifdef __HAIKU__". > > What's the result of these commands on your machine? > $ : | gcc -E -dM - | grep -i haiku > $ gcc -v > When I run: *$ : | gcc -E -dM - | grep -i haiku* I get: *#define __HAIKU__ 1* The command: *gcc -v* shows (among other): *Target: x86_64-unknown-haiku* *gcc version 13.3.0 (2023_08_10)* Regarding *lispbibl.d*, I see the origin of *UNIX_HAIKU*. But even when I modify *spvw.d* from: *#ifdef UNIX_HAIKU* * " :HAIKU"* *#endif* to: *#ifdef __HAIKU__* * " :HAIKU"* *#endif* I still do not have :HAIKU in **features**. Maybe I do something wrong? |