1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-27 07:44:34 +02:00

Check for std::(tr1::)function support

This commit is contained in:
Uwe L. Korn
2014-06-24 17:10:14 +01:00
parent ab45834a4f
commit 66147db7a7
5 changed files with 39 additions and 1 deletions

View File

@@ -21,9 +21,10 @@
#ifndef CLOSURE_H
#define CLOSURE_H
#include "config.h"
#include "DllMacro.h"
#ifdef _WEBSOCKETPP_CPP11_STL_
#if defined(_WEBSOCKETPP_CPP11_STL_) || defined(CXX_STD_FUNCTIONAL)
#include <functional>
using std::function;
#else

View File

@@ -11,6 +11,7 @@
#cmakedefine SNOW_LEOPARD
#cmakedefine LEOPARD
#cmakedefine HAVE_SPARKLE
#cmakedefine CXX_STD_FUNCTIONAL
#cmakedefine WITH_CRASHREPORTER
#cmakedefine WITH_BINARY_ATTICA