Commit 634f023a authored by Jan Möbius's avatar Jan Möbius
Browse files

Try a smart pointer fix for Maverick with xcode 5.1.1

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18878 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 73a789fc
......@@ -80,10 +80,16 @@
#pragma warning "TR1 not available! Please install Visual Studio Service Pack 1!"
#endif
#else
// hope for TR1 equivalents
#include <tr1/memory>
namespace ptr = std::tr1;
#define ACG_UNIQUE_POINTER_SUPPORTED 0
// hope for TR1 equivalents
#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9)
// Mavericks special treatment
#include <memory>
namespace ptr = std;
#else
#include <tr1/memory>
namespace ptr = std::tr1;
#endif
#define ACG_UNIQUE_POINTER_SUPPORTED 0
#endif
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment