OS X: Fix build on Mac OS X 10.6 (from vit9696.)

This commit is contained in:
Unknown W. Brackets 2013-04-01 08:02:19 -07:00
parent 44b22bc6ff
commit 23224f1c1d
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
#include <list>
#include <set>
#ifndef __SYMBIAN32__
#ifdef IOS
#if defined(IOS) || (defined(__APPLE__) && !defined(__MAC_10_7))
#include <tr1/type_traits>
#else
#include <type_traits>
@ -45,7 +45,7 @@
#include "FileUtil.h"
#include "../ext/snappy/snappy-c.h"
#if defined(ANDROID) || defined(IOS)
#if defined(ANDROID) || defined(IOS) || (defined(__APPLE__) && !defined(__MAC_10_7))
namespace std {
using tr1::is_pointer;
}

View File

@ -7,7 +7,7 @@
#if (GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ || defined(__APPLE__)) \
/* GCC 4.4 provides <mutex>, except on these platforms: */ \
&& !defined(ANDROID) && !defined(__SYMBIAN32__) && !defined(IOS)
&& !defined(ANDROID) && !defined(__SYMBIAN32__) && !defined(IOS) && !defined(__MAC_10_6)
#include <mutex>
#else