• Advertisement
Sign in to follow this  

64 bit query

This topic is 4000 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I was wondering is there a system independent way to check if 64 bit is awailable in C\C++? I mean with #ifdef or something similliar? If no system independence then please redirect me to Linux\Windows\Mac info. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
There are compiler-specific defines that are intended to let you figure out what the compiler is and the target platform, in order to in turn deduce special type names and any other ugly hacks you might need.

But you don't need to research them just to try to get 64-bit types; Boost has wrapped this process up for you already.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement