[Cmake-commits] [cmake-commits] hoffman committed SystemInformation.cxx 1.41 1.42
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue May 19 16:46:26 EDT 2009
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv12049
Modified Files:
SystemInformation.cxx
Log Message:
ENH: make this build on other machines besides the mac
Index: SystemInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemInformation.cxx,v
retrieving revision 1.41
retrieving revision 1.42
diff -C 2 -d -r1.41 -r1.42
*** SystemInformation.cxx 19 May 2009 20:35:13 -0000 1.41
--- SystemInformation.cxx 19 May 2009 20:46:24 -0000 1.42
***************
*** 2769,2772 ****
--- 2769,2773 ----
bool SystemInformationImplementation::ParseSysCtl()
{
+ #if defined(__APPLE__)
int err = 0;
uint64_t value = 0;
***************
*** 2867,2870 ****
--- 2868,2874 ----
return true;
+ #else
+ return false;
+ #endif
}
More information about the Cmake-commits
mailing list