On 2009-06-01, Ted Walther <[email protected]> wrote: > I'm preparing a port of newLISP. Is there a simple test I can run to > find out if the host platform is 64bit? A #define has to be set in the > code according to whether the platform is 64bit or not.
We set _LP64 and __LP64__ variables on 64-bit arch. $ cpp -dM /dev/null | grep LP64 #define _LP64 1 #define __LP64__ 1 > Am I right in assuming that OpenBSD only supports 32bit and 64bit > platforms at the moment? You're right, we only support 32- and 64-bit platforms.

