summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index 73c7189..b370380 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/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@