[cmake-developers] [PATCH 2/3] Use correct cmake macro.
Patrick Welche
prlw1 at cam.ac.uk
Thu Jul 28 12:26:11 EDT 2016
---
Source/kwsys/SystemInformation.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index 6c936e6..2965db8 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -4751,7 +4751,7 @@ bool SystemInformationImplementation::QuerySolarisMemory()
// a 32 bit process on a 64 bit host the returned memory will be
// limited to 4GiB. So if this is a 32 bit process or if the sysconf
// method fails use the kstat interface.
-#if SIZEOF_VOID_P == 8
+#if CMAKE_SIZEOF_VOID_P == 8
if (this->QueryMemoryBySysconf())
{
return true;
--
2.9.2
More information about the cmake-developers
mailing list