[Qt-interest] Indentify 64 bit
Paul Floyd
paulf at free.fr
Thu Jul 2 23:42:15 CEST 2009
On 2 Jul 2009, at 22:31, Manuel Fiorelli wrote:
>
> I wanted to say that QT_POINTER_SIZE gives you the value of
> sizeof(void *) at preprocessing time,
> but no other information: for example, you cannot distinguish a LP64
> form a LLP64 one.
That's true. But I think that Win64 is the only 64bit system that is
LLP64 rather than LP64. So a combination of QT_POINTER_SIZE and the
Q_OS macros should tell you all you need to know about pointers and
longs.
A+
Paul
More information about the Qt-interest-old
mailing list