Merge pull request #611 from xsacha/master

Buildfix for Symbian
This commit is contained in:
Henrik Rydgård committed 2013-02-05 23:06:54 -08:00
commit cc02deb806
2 files changed
+16 -1

No files matched your search

+14
View File
@@ -33,7 +33,9 @@
#include <string>
#include <list>
#include <set>
#ifndef __SYMBIAN32__
#include <type_traits>
#endif
#include "Common.h"
#include "FileUtil.h"
@@ -44,6 +46,18 @@ namespace std {
using tr1::is_pointer;
}
#endif
#ifdef __SYMBIAN32__
namespace std {
template <bool bool_value>
struct bool_constant {
typedef bool_constant<bool_value> type;
static const bool value = bool_value;
};
template <bool bool_value> const bool bool_constant<bool_value>::value;
template <typename T> struct is_pointer : public bool_constant<false> {};
template <typename T> struct is_pointer<T*> : public bool_constant<true> {};
}
#endif
template <class T>
struct LinkedListItem : public T
+2 -1
View File
@@ -48,7 +48,8 @@ SOURCES += ../Common/ColorUtil.cpp \
../Common/Timer.cpp \
../Common/Version.cpp \
../Common/Crypto/*.cpp
HEADERS += ../Common/ColorUtil.h \
HEADERS += ../Common/ChunkFile.h \
../Common/ColorUtil.h \
../Common/ConsoleListener.h \
../Common/ExtendedTrace.h \
../Common/FileSearch.h \