Fixed clang OS X build.
This commit is contained in:
parent
18c119b4d5
commit
3e1ab53abd
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user