maidsafe-archive/MaidSafe
cmake_modules/find_ubsan.cmake
:111
check_cxx_source_runs(
"
int main(int argc, const char* argv[])
{
#if defined(__i386) || defined(__i386__) || defined(_M_IX86)
/* I am x86 */
#elif defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(_M_X64)
/* I am x64 */
#else
#error I am neither x86 nor x64
#endif
return 0;
}
"
HAVE_X86_OR_X64_TARGET)