
//----------------- patch to fix error from stackoverflow ---------------------
// from: https://stackoverflow.com/questions/13219007/xcode-4-5-tr1-type-traits-file-not-found
// to fix:
// In file included from /usr/local/wx3.1.2-cocoa-i386-macOS-10.9-cpp/include/wx-3.1/wx/string.h:37:
///usr/local/wx3.1.2-cocoa-i386-macOS-10.9-cpp/include/wx-3.1/wx/strvararg.h:27:18: fatal error: 'tr1/type_traits' file not found
//        #include <tr1/type_traits>
//                 ^
//

#include <ciso646>  // detect std::lib
#ifdef _LIBCPP_VERSION
// using libc++
#ifndef HAVE_TYPE_TRAITS
#define HAVE_TYPE_TRAITS 1
#endif
#else
// using libstdc++
#ifndef HAVE_TR1_TYPE_TRAITS
#define HAVE_TR1_TYPE_TRAITS 1
#endif
#endif
//-----------------------------------------------------------------------------

