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:
@@ -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
|
||||
|
@@ -11,6 +11,7 @@
|
||||
#cmakedefine SNOW_LEOPARD
|
||||
#cmakedefine LEOPARD
|
||||
#cmakedefine HAVE_SPARKLE
|
||||
#cmakedefine CXX_STD_FUNCTIONAL
|
||||
|
||||
#cmakedefine WITH_CRASHREPORTER
|
||||
#cmakedefine WITH_BINARY_ATTICA
|
||||
|
Reference in New Issue
Block a user