Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Where does _X86_ get defined?

dajum
Novice
1,461 Views
I have a VS solution with both WIN32 and X64 projects. I've used !DEC$ IF DEFINED(_X86_) in a bunch of places to make the 32 bit version syntax different. But Now I find my WIN32 project is being compiled thinking that _X86_ isn't defined. Is this automatically set somewhere? I thought it was being done correctly, and now it isn't.

Thanks!
0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,461 Views
That's not one of the compiler's predefined symbols. It does define _M_X86 when compiling for X86.
0 Kudos
Reply