[Qt-interest] Indentify 64 bit

Stefano Rosellini s.rosellini at iv-srl.it
Fri Jul 3 08:55:15 CEST 2009


Thanks to all. I think these info should be sufficient for my needing.

Paul Floyd ha scritto:
> 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
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>   


-- 
Stefano Rosellini
Informatica Valdinievole




More information about the Qt-interest-old mailing list