| 2224 | } |
| 2225 | |
| 2226 | bool cmMakefile::PlatformIs32Bit() const |
| 2227 | { |
| 2228 | if (cmValue plat_abi = this->GetDefinition("CMAKE_INTERNAL_PLATFORM_ABI")) { |
| 2229 | if (*plat_abi == "ELF X32"_s) { |
| 2230 | return false; |
| 2231 | } |
| 2232 | } |
| 2233 | if (cmValue sizeof_dptr = this->GetDefinition("CMAKE_SIZEOF_VOID_P")) { |
| 2234 | return atoi(sizeof_dptr->c_str()) == 4; |
| 2235 | } |
| 2236 | return false; |
| 2237 | } |
| 2238 | |
| 2239 | bool cmMakefile::PlatformIs64Bit() const |
| 2240 | { |
no test coverage detected