From f5faf8cf43ca6da499db93fefaeee40ecb03c941 Mon Sep 17 00:00:00 2001 From: Eshed Date: Tue, 24 May 2016 18:15:45 +0300 Subject: [PATCH] Fix VS engine-dedicated build under Debug configuration For some arcane reason RelWithDebInfo included somewhere while Debug didn't. go figure vOv --- rts/lib/streflop/streflop_cond.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rts/lib/streflop/streflop_cond.h b/rts/lib/streflop/streflop_cond.h index fad804f907b..d412c3d937d 100644 --- a/rts/lib/streflop/streflop_cond.h +++ b/rts/lib/streflop/streflop_cond.h @@ -58,6 +58,9 @@ namespace math { using std::isfinite; #elif __cplusplus +} +#include +namespace math { template inline bool isnan(T value) { return value != value; }