المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to got the programming is compiled by x64 or x86



C# Programming
04-09-2009, 07:22 AM
i am writing some code, if will act different ways on x64 and x86,

does there is a way to justify the code is compiled by x64 or x86,

as i know i cpp i can use


#ifdef __x64
doA
#elif __x86
doB
#endif