From 5ea37772d7f9ae5e70b4161f10d1bd3297a13bf4 Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 1 May 2013 11:19:01 +1000 Subject: [PATCH] pre-C++11 buildfix. Linux buildfix. --- Core/HLE/sceKernelTime.cpp | 1 + ext/xbrz/xbrz.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceKernelTime.cpp b/Core/HLE/sceKernelTime.cpp index 1ef8f7af92aa..91432dfe68a7 100644 --- a/Core/HLE/sceKernelTime.cpp +++ b/Core/HLE/sceKernelTime.cpp @@ -21,6 +21,7 @@ #endif #include +#include #include "HLE.h" #include "../MIPS/MIPS.h" diff --git a/ext/xbrz/xbrz.cpp b/ext/xbrz/xbrz.cpp index 9012bfa7b6dc..fad126aaf4e0 100644 --- a/ext/xbrz/xbrz.cpp +++ b/ext/xbrz/xbrz.cpp @@ -17,6 +17,7 @@ #include #include #include +#include namespace { @@ -32,7 +33,7 @@ inline unsigned char getBlue (uint32_t val) { return getByte<1>(val); } template inline T abs(T value) { - static_assert(std::is_signed::value, ""); + static_assert(std::numeric_limits::is_signed, "abs performed on unsigned"); return value < 0 ? -value : value; }