Fixed clang OS X build.

This commit is contained in:
Scott Ehlert 2011-06-17 18:21:17 -05:00
parent 18c119b4d5
commit 3e1ab53abd

View File

@ -67,7 +67,7 @@ MemoryUtils::MemoryUtils()
Gestalt(gestaltSystemVersionMinor, &m_OSXMinor); Gestalt(gestaltSystemVersionMinor, &m_OSXMinor);
/* Get pointer to struct that describes all loaded mach-o images in process */ /* Get pointer to struct that describes all loaded mach-o images in process */
if (m_OSXMajor == 10 && m_OSXMinor >= 6 || m_OSXMajor > 10) if ((m_OSXMajor == 10 && m_OSXMinor >= 6) || m_OSXMajor > 10)
{ {
task_dyld_info_data_t dyld_info; task_dyld_info_data_t dyld_info;
mach_msg_type_number_t count = TASK_DYLD_INFO_COUNT; mach_msg_type_number_t count = TASK_DYLD_INFO_COUNT;