|
-
July 2nd, 2013, 06:44 AM
#7
Re: Windows 64 bit or 32 bit preprocessor directives
but in case you have an actual code path that depends on 64 vs 32bit...
_M_X64 is defined for 64bit builds
_M_IX86 is defined for 32bit builds (the actual value will depend on what processor you're targetting)
_WIN64 is defined for Win64 builds
_WIN32 is defined for Win32 builds
the above is for Visual C++. Other compiler will have different macro's.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|