opnsense-ports/audio/tomahawk/files/patch-src__libtomahawk__utils__Closure.h
Franco Fichtner 0c80e35753 */*: sync with upstream
Taken from: FreeBSD
2015-07-20 07:01:06 +02:00

13 lines
354 B
C++

--- src/libtomahawk/utils/Closure.h.orig 2014-11-20 00:17:56 UTC
+++ src/libtomahawk/utils/Closure.h
@@ -40,6 +40,10 @@ using std::tr1::function;
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>
+#ifdef _LIBCPP_VERSION
+namespace std { namespace tr1 = std; }
+#endif
+
namespace _detail {
class DLLEXPORT ClosureArgumentWrapper {