diff --git a/SystemInformation.cxx b/SystemInformation.cxx index b4356fd522c400bd8c46e47183c27c3b29ae3869..371c118ec1465c4cf1fda524c09d95692c2696af 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -3154,11 +3154,7 @@ bool SystemInformationImplementation::QueryOSInformation() /** Return true if the machine is 64 bits */ bool SystemInformationImplementation::Is64Bits() { - if(sizeof(long int) == 4) - { - return false; - } - return true; + return (sizeof(void*) == 8); } } // namespace @KWSYS_NAMESPACE@