Skip to main content
GameDev.net gamedev.net
🔒 Locked

64 bit query

Started by Fimbulvetr Mar 9, 2007 at 12:26 AM 0 replies 950+ views
Original Post
Fimbulvetr
Fimbulvetr
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!
Zahlman
Zahlman
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.